On Fri, Feb 26, 2010 at 3:33 PM, Ivan Vasilev <ivasi...@sirma.bg> 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"; Correct. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org