Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
By default, the solrconfig.xml has maxBooleanClauses set to 1024, which in my opinion should be more than enough clauses in general. Recently, we have been noticing errors in our Catalina log: SEVERE: org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 2048. As a

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Koji Sekiguchi
(10/11/02 23:14), Ken Stanley wrote: I've noticed in the stack trace that this exception occurs when trying to build the query for the highlighting; I've confirmed this by copying the params and changing hl=true to hl=false. Unfortunately, when using debugQuery=on, I do not see any details on

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Markus Jelsma
Hmm, i'm not sure it's the highlighter alone. Depending on the query it can also get triggered by the spellcheck component. See below what happens with a maxBoolean = 16. HTTP ERROR: 500 maxClauseCount is set to 16 org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
On Tue, Nov 2, 2010 at 11:26 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: (10/11/02 23:14), Ken Stanley wrote: I've noticed in the stack trace that this exception occurs when trying to build the query for the highlighting; I've confirmed this by copying the params and changing hl=true to