lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: NumericField exact match
Date Sat, 27 Feb 2010 14:14:04 GMT
On Fri, Feb 26, 2010 at 3:33 PM, Ivan Vasilev <> wrote:
> Does it matter precision step when I use NumericRangeQuery for exact
> matches?

No.  There is a full-precision version of the value indexed regardless
of the precision step, and that's used for an exact match query.

> I mean if I use the default precision step when indexing that
> fields it is guaranteed that:
> 1. With this query I will always hit the docs that contain "val" for the
> "field";
> 2. I will never hit docs with different that have diferent "val" for the
> "field";



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message