Hi, The other way maybe, store the date in a separate database, like derby embeded database. Then, do a joint query between the Lucene result and the derby database select result, and merge the two result set into one by handing coding a database intersection like type of operation.
Just a thought but I am looking into using derby to store all the numeric/date data that requires range query, and only store in Lucene the free text data. Then, using a primary key to associate the two. Since typically, range query is best handled by B+ tree indexing, so, that is why I want to give derby a try and see how to best integrate it with Lucene. Cheers, Jian On 9/3/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > > You can use the date range query. See: > http://lucene.apache.org/java/docs/queryparsersyntax.html > http://www.lucenebook.com/search?query=range+query > > Otis > > --- Filip Anselm <[EMAIL PROTECTED]> wrote: > > > Hi > > > > If I add a Field with a date to all my indexed documents... how can I > > then search and only get the hits where the date Field is between two > > specified dates?? > > > > Thank you in advance! > > > > Filip > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >