Modify solrconfig XML file
vim /solr/configsets/Your_collection_name/conf/solrconfig.xml
Find this paragraph:
<listener event="firstSearcher" class="solr.QuerySenderListener"> <arr name="queries"> <lst> <str name="q">static firstSearcher warming in solrconfig.xml</str> </lst> </arr> </listener>
Modify <str name=”q”></str> The value of is *: *, which is modified as follows:
<listener event="firstSearcher" class="solr.QuerySenderListener"> <arr name="queries"> <lst> <str name="q">*:*</str> </lst> </arr> </listener>
If zookeeper is used, you need to upload the configuration to zookeeper again:
/solr/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig -zkhost Address 1:2181, Address 2:2181, Address 3:2181 -confdir /solr/configsets/your collection name/conf -confname your configuration name
Re create a new collection
Similar Posts:
- [Solved] Solr + Zookeeper Error: Could not execute ruok towards ZK host xxx:2181…
- [Solved] Solr Error: non ok status: 413, message:FULL head,
- org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-8080]]
- [Solved] Error: unable to find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
- solr Error: SolrException:org.apache.solr.common.SolrException: Error opening new searcher Please check your logs for more information
- Zookeeper link error keepererrorcode = nodeexists for
- An error is reported when zookeeper starts (the data directory permission is incorrect)
- [Solved] zookeeper deletes a directory node Error: authentication is not valid: /HBase/tokenauth
- Web project management web.xml Listener monitoring summary
- Error already running as process when starting zookeeper