lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <>
Subject Re: Timestamps as milliseconds
Date Wed, 26 Jul 2006 21:41:06 GMT
As Miles said, use the DateTools (lucene) class with a DAY resolution.
That'll give you a YYYYMMDD format, which won't blow your query with a
"TooManyClauses" exception.......

Remember that Lucene deals with strings, so you want to store things in
easily-manipulated string format, often one that's suitable for comparison.
Which is what you want to do when you create a RangeQuery


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message