Re: Programmatic schema modification

2022-08-30 Thread Jan Høydahl
Have you checked out the SchemaRequest class in SolrJ? Have not used it myself, but looks helpful instead of using GenericSolrRequest for this? https://solr.apache.org/docs/9_0_0/solrj/org/apache/solr/client/solrj/request/schema/package-summary.html Jan > 31. aug. 2022 kl. 00:30 skrev Christophe

Programmatic schema modification

2022-08-30 Thread Christopher Schultz
All, I've been working lately on bootstrapping a Solr core from within my application. The source language is Java so I'm using SolrJ and I must say, it's /very/ straightforward to use it for things like performing queries and adding documents to a core, but outside of that, it's very difficu

Re: SOLR API - modifying the schema for one collection modifies it for ALL collections ?

2022-08-30 Thread Christopher Schultz
Jan, Serban, On 5/3/22 19:09, Jan Høydahl wrote: Your Collection's schema is part of a ConfigSet (https://solr.apache.org/guide/8_11/config-sets.html ). Multiple collections may use the same ConfigSet. The gotcha is that when you modify sche

Re: Forcing solr to run query on replica Nodes

2022-08-30 Thread Shawn Heisey
On 8/30/22 08:08, Satya Nand wrote: For querying, we have used *shard.preference as PULL *so that all queries are returned from pull replicas. How can I force solr to use only pull replicas? in case one of the pull replicas is not available then I want partial results to be returned from 7 repli

Forcing solr to run query on replica Nodes

2022-08-30 Thread Satya Nand
Hi, Currently, we have 8+1 solr nodes cluster. Where 1 Indexing node contains all(8) NRT Primary shards. This is where all indexing happens. Then We have another 8 nodes consisting of one pull replica of each primary shard. For querying, we have used *shard.preference as PULL *so that all queries

Re: XSLT Response Writer

2022-08-30 Thread Eric Pugh
Did you go through the steps to add the scripting module and configure it in https://solr.apache.org/guide/solr/latest/query-guide/response-writers.html#xslt-response-writer? I did a bunch of that refactoring, so would love to know about issues ;-) > On Aug 30, 2022, at 7:06 AM, Elisa Pellegrini

XSLT Response Writer

2022-08-30 Thread Elisa Pellegrini
Hi! I'm running on solr 9 and I follow guide ( https://solr.apache.org/guide/solr/latest/query-guide/response-writers.html ) to add XSLT ResponseWriter to my_core_name/conf/solrcongif.xml I restarted the core and everything seems to be fine but when I run my query I get this error org.apac