lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Filtering of query based on field ID
Date Fri, 07 Oct 2005 22:04:20 GMT

: As a new user of Lucene I wonder if anyone can suggest how to do this query
: the fastest way:

Use a RangeFilter instead of a RangeQuery ... the performance will be much better.

keep in mind that either way you do it, you'll need to store your pathIds
with some sort of padding so that they sort lexigraphically, otherwise
when you ask for "1 to 1000" you won't get any numbers that don't start
with the digit "1".


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

View raw message