You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by tal steier <ta...@gmail.com> on 2011/04/05 15:36:48 UTC

finding the first document created since 3 weeks ago - Numeric Field

Hi,
I'm indexing a time stamp for every document, using a Numeric Field.
Was wandering if there's a correct way to find the first document newer then
a specific date (say 3 weeks ago).

I know I can perform a range search for a range starting 3 weeks ago and
ending now, but was wandering if there is a more efficient way.

Thank you,
Tal Steier