You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Pooja Verlani <po...@gmail.com> on 2010/05/13 07:14:47 UTC
Too many clauses in lucene query
Hi all,
I am forming a query to boost a certain ids, the list of ids can go till
2000 too. I am sometimes getting the error for too many clauses in the
boolean query and otherwise i am getting a null page. Can you suggest any
config changes regarding this.
I am using solr 1.3.
Regards,
Pooja
Re: Too many clauses in lucene query
Posted by Ahmet Arslan <io...@yahoo.com>.
> I am forming a query to boost a certain ids, the list of
> ids can go till
> 2000 too. I am sometimes getting the error for too many
> clauses in the
> boolean query and otherwise i am getting a null page. Can
> you suggest any
> config changes regarding this.
> I am using solr 1.3.
For too many clauses there is <maxBooleanClauses>1024</maxBooleanClauses> in solrconfig.xml.
For null page http://wiki.apache.org/solr/SolrTomcat#Enabling_Longer_Query_Requests may help.