Re: RangeQuery With Date

2005-02-07 Thread Luke Shannon
Bingo. Thanks! Luke - Original Message - From: "Chris Hostetter" <[EMAIL PROTECTED]> To: "Lucene Users List" Sent: Monday, February 07, 2005 5:10 PM Subject: Re: RangeQuery With Date > : Your dates need to be stored in lexicographical order f

Re: RangeQuery With Date

2005-02-07 Thread Chris Hostetter
: Your dates need to be stored in lexicographical order for the RangeQuery : to work. : : Index them using this date format: MMDD. : : Also, I'm not sure if the QueryParser can handle range queries with only : one end point. You may need to create this query programmatically. and when creating

Re: RangeQuery With Date

2005-02-07 Thread Luke Francl
Your dates need to be stored in lexicographical order for the RangeQuery to work. Index them using this date format: MMDD. Also, I'm not sure if the QueryParser can handle range queries with only one end point. You may need to create this query programmatically. Regards, Luke Francl

RangeQuery With Date

2005-02-07 Thread Luke Shannon
Hi; I am working on a set of queries that allow you to find modification dates before, after and equal to a given date. Here are some of the before queries I have been playing with. I want a query that pull up dates modified before Nov 11 2004: Query query = new RangeQuery(null, new Term("modifi