lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Search returning documents matching a NOT range
Date Wed, 10 Nov 2010 12:53:43 GMT
On Sun, Nov 7, 2010 at 11:32 PM, Uwe Schindler <uwe@thetaphi.de> wrote:
> Does the same happen with a MultiReader on top of both indexes and using a
> single IndexSearcher on top of this MultiReader?
>
> P.S.: How about using NumericField?
>

should be no problem there, it always uses filter rewrite?
the problem is when you are doing boolean multitermrewrite... in how
the query is rewritten and combined from its sub-searchers.

in otherwords, you can also do this to workaround the issue:
qp.setMultiTermRewriteMethod(MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE);

---------------------------------------------------------------------
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