On 8/26/22 09:44, Su, Weiling wrote:
I checked the documentation, it seems that Solr Cloud is using zookeeper to 
store solr.xml. 
(https://solr.apache.org/guide/8_11/format-of-solr-xml.html#defining-solr-xml).

Any ideas on how to make the above configuration changes to reach Solr query?

SolrCloud *CAN* read solr.xml from zookeeper.  But it will only do so if you put solr.xml in your zookeeper.  If you don't, then it will look in the solr home for it in the exact same manner that Solr does when NOT running in cloud mode.

The solr.xml file is the recommended place to define that setting, not solrconfig.xml, due to the way that Lucene implements the setting.

If your solr.xml looks exactly like the version shown in that documentation page, then you can set a solr.max.booleanClauses system property on the java commandline at Solr startup, and it will be used by that solr.xml instead of 1024.

My solr.xml contains this line -- the value is completely hard-set and cannot be changed with properties:

  <int name="maxBooleanClauses">4096</int>

Thanks,
Shawn

Reply via email to