Re: Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-26 Thread elisabeth benoit
Hello, Thanks for answering. The unit test does not bypass the newSearcher part when it works. For the record (for others who may have the same problem), you have to implement the same function as in AbstractSolrEventListener protected NamedList addEventParms( SolrIndexSearcher currentSea

Re: Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread Mikhail Khludnev
I suppose a test may bypass some configs or stages. I think the default config shipped with distro has a listener configured and we can see that it works in bootstrap logs. On Tue, Oct 24, 2023 at 3:03 PM elisabeth benoit wrote: > Hello, > > We have a solr custom plugin that we are actually migr

Re: Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread elisabeth benoit
I forgot to add we have this line in solrconfig Le mar. 24 oct. 2023 à 14:04, elisabeth benoit a écrit : > > Hello, > > We have a solr custom plugin that we are actually migrating from solr > 7.3.1 to solr 9.2.1. > > In our solrconfig.xml we have the following line: > > > class="com.cie.lbs

Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread elisabeth benoit
Hello, We have a solr custom plugin that we are actually migrating from solr 7.3.1 to solr 9.2.1. In our solrconfig.xml we have the following line: The values stopwords and startswith are defined in solrconfig and we read those values in the newSearcher function of a class implementing SolrEv