On 9/18/2014 1:28 AM, Vishnu Mishra wrote:
> I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml.
> But my application need to change this limit at run time depending upon the
> query. So can I set this limit at run time for e.g. in SolrParam or in other
> ways. 

This is a global Lucene setting.  If you change the setting in a core's
config and then reload that core, it would *probably* change it globally
for the entire application.  I'm not 100% positive about that, though. 
Your best bet is to try it.  You would want to change it in all your
configs, just to be sure you didn't lose the setting on a full solr restart.

Some important people would really like to eliminate that limitation
completely, but when I raised an issue to do so, I met with resistance
from pure Lucene folks and I haven't made another attempt.

Thanks,
Shawn

Reply via email to