No SolrCloud. however I've found the problem (though the reason it is not completely clear to me). I was passing terms as field:("term1" "term2",,,) I simply changed it as field:(term1 term2 ...) and it worked as expected
I'm not so expert in reading debugQuery output but parsed_filter_queries value seems the same for the version with and without quotes. (I'm using the condition as a fq) However now it works Thanks Il giorno gio 7 apr 2016 alle ore 16:28 Shawn Heisey <apa...@elyograg.org> ha scritto: > 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 > >