Re: Filtering on two date fields simultaneously

2009-10-01 Thread Dragan Jotanovic
Thanks, I will try NumberRangeQuery On Thu, Oct 1, 2009 at 4:01 PM, Grant Ingersoll wrote: > > On Sep 29, 2009, at 11:30 AM, Dragan Jotanovic wrote: > >> Hi, I was thinking a long time how to implement this kind of >> functionality but couldn't figure out anything appropriate. >> In my lucene doc

Re: Filtering on two date fields simultaneously

2009-10-01 Thread Grant Ingersoll
On Sep 29, 2009, at 11:30 AM, Dragan Jotanovic wrote: Hi, I was thinking a long time how to implement this kind of functionality but couldn't figure out anything appropriate. In my lucene document, I have two date fields: start and end date. As a search input I have current date (NOW). I need t

Filtering on two date fields simultaneously

2009-09-29 Thread Dragan Jotanovic
Hi, I was thinking a long time how to implement this kind of functionality but couldn't figure out anything appropriate. In my lucene document, I have two date fields: start and end date. As a search input I have current date (NOW). I need to display all documents for which current date is between