lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Increase maxBooleanClauses limit at run time
Date Thu, 18 Sep 2014 15:37:38 GMT
Just ran in to this. Since it's global, the last core loaded rules...
and you don't necessarily know which core that will be.

So change this in _all_ your solrconfig.xml files.

There's no external API that I know of to set it higher on a running instance.

Best,
Erick

On Thu, Sep 18, 2014 at 8:00 AM, Shawn Heisey <solr@elyograg.org> wrote:
> 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
>

Mime
View raw message