Re: Regarding range queries.

2005-08-09 Thread Doug Cutting
Tony, If your improvements are of general utility, please contribute them. Even if they are not, post them as-is and perhaps someone will take the time to make them more reusable. Cheers, Doug Tony Schwartz wrote: I think there are a few things that should be added to lucene to really give

Re: Regarding range queries.

2005-08-09 Thread Erik Hatcher
On Aug 9, 2005, at 2:27 AM, santo santo wrote: Hi all, I am new user of lucene. This query is posted at least once on alomost all lucene mailing lists. The query being about handling of date fields. In my case I need to find documents with dates older than a particular date. So ideally I am no

Re: Regarding range queries.

2005-08-09 Thread Tony Schwartz
1. Use RangeFilters on the lowest precision date you need. If you only need to filter to the day, index the date in a separate field with day precision. This will speed up filter creation a great deal. 2. Use as few characters as possible when indexing, so if you can come up with your own da

Regarding range queries.

2005-08-08 Thread santo santo
Hi all, I am new user of lucene. This query is posted at least once on alomost all lucene mailing lists. The query being about handling of date fields. In my case I need to find documents with dates older than a particular date. So ideally I am not supposed to specify the lower bound. When using