If you search the mailing list archive for 'date', you'll find a wealth of discussion on this topic. Also, try DateTools, DateRange, etc.
http://www.gossamer-threads.com/lists/lucene/java-user/ Erick On 2/27/07, Walt Stoneburner <[EMAIL PROTECTED]> wrote:
I've been asked if it's possible to search on dates within a document. The high level goal is to index a number of documents which mention specific dates, and then perform a broad query for documents that mention dates within a certain time period. In thinking about how to go about solving this problem, I would figure one would need a filter to extract all the date formats and store them in a separate field, perhaps as a list. Has anyone done something like this with Lucene, or perhaps could give me some gentle design issues / recommendations for consideration so that I don't paint myself into a corner later? Thanks, -Walt Stoneburner --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]