Is it possible to search on date ranges using Lucene in Java? How do I build Lucene search queries based on date fields and dates ranges? For example:
- between specified dates
- prior to a specified date
- after a specified date
- within the last 24 hours
- within the past week
- within the past month.
[Edit] i'm using Lucene 2.4.1 and my system is really legacy and really poorly tested so i would like if possible not to have to upgrade