2016年6月17日星期五

[Solr] Why setting maxBooleanClauses does not take effect?

If you have multiple cores, setting one of them to different value won't work. You need to set maxBooleanClauses to the same value across all the scores in solrconfig.xml.

It will automatically become the default value (1024) if they are not consistent.

The reason of all this shit is that, maxBooleanClauses is actually a global value for solr instance. It is not an independent value for each core.


Fuck solr! And big thanks to: http://qindongliang.iteye.com/blog/2261099

沒有留言: