lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Heilbrunn <ben...@gmail.com>
Subject Re: TooManyClauses and maxClauseCount question
Date Wed, 20 Jan 2010 15:56:44 GMT
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 memory
consumption (or performance) if you run the same query with two
different maxClauseCount settings.

But don't believe me. I'm not familiar with the corresponding code.


2010/1/20 john smith <john.smith391@gmail.com>:
> 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 (allocates bigger buffer only when it is
> neccesary) or allocates constant (increased) amount of memory for every
> wildcard query ?
> Regards
> JS.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message