Hello

----- Original Message ----- 
From: "Chris Hostetter" <[EMAIL PROTECTED]>
To: "Lucene Users" <java-user@lucene.apache.org>
Sent: Tuesday, March 07, 2006 3:49 PM
Subject: Re: BooleanQuery$TooManyClauses with 1.9.1 when Number RangeQuery


> 
> : I upgade to 1.9.1 and reindexing
> : I used NumberTool when I index the number.
> :
> : after upgrade I got following error when number range query.
> : with query
> 
> The possibility of a TooManyClauses exception has always existed with
> RangeQuery and numbers, even when using NumberTool.  Even if you never saw
> it before, and you are still querying on the exact same range as before,
> adding new docs with values in that range can trigger the exception.
> 
You mean Theoritically 
RangeQuery should be forbidden because it always has potential time bomb ?
Should we comment it in javadoc ?

> Consider using a RangeFilter instead, or the ConstantScoreRangeQuery which
> doesn't have this limitation.
> 
Thanks for your alternative suggestion.
I will try.

Youngho

Reply via email to