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: <valueSourceParser name="stopwordsw" class="com.cie.lbs.solr.search.function.StopWordSubtypeValueSourceParser" stopwords="le;la;les;" startswith="3" /> The values stopwords and startswith are defined in solrconfig and we read those values in the newSearcher function of a class implementing SolrEventListener. public void newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher) { SolrConfig config = newSearcher.getCore().getSolrConfig(); String functionName = "//valueSourceParser[@name='" + this.name + "']"; String[] stopWords = config.get(functionName + "/@stopwords").txt().split(";") ; StopWordSubtypeLoader.startsWithValue = Integer.parseInt(config.get( functionName + "/@startswith").txt()); StopWordSubtypeLoader.stopWords = new HashSet<String>(Arrays.asList(stopWords)); LOGGER.info("startsWithValue = " + StopWordSubtypeLoader.startsWithValue); LOGGER.info("stopwords = " + String.join(",", StopWordSubtypeLoader.stopWords)); } This was working in solr 7.3.1 but is not working in solr 9.2.1. When I put a break point in newSearcher function in a unit test, it never gets there, as if newSearcher is not called. Did something change? I cant find an exemple of a similar case with solr 9. Best regards, Elisabeth