lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john smith <john.smith...@gmail.com>
Subject TooManyClauses and maxClauseCount question
Date Wed, 20 Jan 2010 14:54:03 GMT
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


Mime
View raw message