lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <jack.krupan...@gmail.com>
Subject Re: maxBooleanClauses in solrconfig.xml is ignored
Date Thu, 07 Apr 2016 14:34:11 GMT
Edismax phrase-boost terms?

-- Jack Krupansky

On Thu, Apr 7, 2016 at 10:28 AM, Shawn Heisey <apache@elyograg.org> wrote:

> On 4/7/2016 8:05 AM, Zaccheo Bagnati wrote:
> > I'm trying to set the maxBooleanClauses parameter in solrconfig.xml to
> 1024
> > but I still have "Too many boolean clauses" error even with 513 terms
> (with
> > 512 terms it works).
> > I've read in the documentation (
> >
> https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig
> )
> > the warning that it is a global setting but I have only 1 core so there
> are
> > not conflicting definitions. I don't know how to deal with this
> > I'm using SOLR 5.5.
>
> The default value for maxBooleanClauses is 1024, so if you're getting an
> error with 513 terms, then either your query is getting parsed so there
> are more terms, or you have a config somewhere that is setting the value
> to 512.
>
> Can you add "debugQuery=true" to your query and see what you are getting
> for the parsedquery?
>
> Are you running SolrCloud?  If you are, then editing a config file is
> not enough.  You also have to upload the changes to zookeeper.
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message