Search fails with a Java error
Search may fail if there are a large number of configurations on the user's desktop.
Problem—When I search, the system returns a Java error
If your desktop contains more than 1,000 configurations, search may fail to return any hits and you may see an error in the solr.log log file similar to the following.
too many boolean clauses
This may occur because the number of boolean clauses processed by Solr exceeds the maximum specified in the solrConfig.xml configuration file for the collection with which you are working.
Solution
To resolve this error, edit the solrConfig.xml configuration file for each collection in the Contenta_home\Tools\Solr\example\solr directory to increase the maximum number of boolean clauses allowed. The solrConfig.xml files are located in Collection_name\conf directories.
- In the solrConfig.xml file, increase the value specified for the
<maxBooleanClauses>configuration element. SDL recommends that you change this value to 4096, as in the following example.<maxBooleanClauses>4096</maxBooleanClauses> - Restart Solr.