Re: RangeQuery & TooManyClausesException : Lucene 2.4

2009-05-20 Thread Michael McCandless
y 20, 2009 11:10 AM > To: java-user@lucene.apache.org > Subject: Re: RangeQuery & TooManyClausesException : Lucene 2.4 > > > Hmm... that's actually not true: RangeQuery will still throw that > exception, unless you call setConstantScoreRewrite to true (at which >

RE: RangeQuery & TooManyClausesException : Lucene 2.4

2009-05-20 Thread Zhang, Lisheng
& TooManyClausesException : Lucene 2.4 Hmm... that's actually not true: RangeQuery will still throw that exception, unless you call setConstantScoreRewrite to true (at which point it does the same thing as ConstantScoreRangeQuery, ie that exception will not be thrown). The javadoc for RangeQuer

Re: RangeQuery & TooManyClausesException : Lucene 2.4

2009-05-20 Thread Michael McCandless
Hmm... that's actually not true: RangeQuery will still throw that exception, unless you call setConstantScoreRewrite to true (at which point it does the same thing as ConstantScoreRangeQuery, ie that exception will not be thrown). The javadoc for RangeQuery is very misleading. (This happened when