Re: TooManyClauses and maxClauseCount question

2010-01-20 Thread Benjamin Heilbrunn
Isn't maxClause count just a "best practice" limit to asure that performance doesn't decrease silently if big queries occur? Performance and memory consumption should depend on how many clauses are really used / number of matching documents I think that there is no (significant) difference in memor

TooManyClauses and maxClauseCount question

2010-01-20 Thread john smith
Hi I'am getting TooManyClauses exception while performing wildcard query. I'am thinking about changing max clause count limit (BooleanQuery.setMaxClauseCount() method). My question referes to memory consumption in case of increasing maxClauseCount parameter. Does Lucene do it in a smart way (