Not sure about the rest, but if you've stored your dates in yyyymmdd format, you can use a RangeQuery like so:
dateField:[20011001-null] This would return all dates on or after October 1, 2001. Scott > -----Original Message----- > From: W. Eliot Kimber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 16, 2001 11:10 AM > To: lucene-user > Subject: Trying To Understand Query Syntax Details > > > I'm trying to understand the details of the query syntax. I found the > syntax ` in QueryParser.jj, but it doesn't make everything clear. > > My initial questions: > > - It doesn't appear that "?" can be the last character in a > search. For > example, to match "fool" and "food", I tried to do "foo?", but got a > parse error. "fo?l" of course matches fool and foal. Is this > a bug or an > implementation constraint? > > - How does one specify a date range in a query? We need to be able to > search on "docs later than date x", and I know that Lucene > supports date > matching, but I don't see how to specify this in a query. > > Also, is there a description of the algorithm "~" uses? > > Thanks, > > E. > > -- > . . . . . . . . . . . . . . . . . . . . . . . . > > W. Eliot Kimber | Lead Brain > > 1016 La Posada Dr. | Suite 240 | Austin TX 78752 > T 512.656.4139 | F 512.419.1860 | [EMAIL PROTECTED] > > w w w . d a t a c h a n n e l . c o m >