Hello Joseph, Yes this would work .Range queries could be used for range searches. But this is very expensive in terms of performance.
Regards, Suman On Fri, 16 Apr 2010 06:23:30 -0700, <i...@josephcrawford.com> wrote: > Hello, > > I would like to query based on a start and end date. I was thinking > something like this > > start_date: [20000101 TO <todays date>] end_date: [<todays date> TO > 20900101] > > Would this work for me? Our dates are stored in the index as strings so I > am not sure the syntax above would be correct. > > Any assistance would be appreciated. > > Thanks, > Joseph Crawford > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org