lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Storing dates as longs
Date Mon, 28 Jun 2004 17:21:59 GMT
Hello,

The standard answer to this question is:
If you don't need your dates to be very precise, trim milliseconds. 
Trim more (e.g. seconds) if that information is not relevant.

Otis


--- yahootintin.1247688@bloglines.com wrote:
> Hi,
> 
> I'm storing my dates as longs.  The longs are converted to strings
> and padded with zeros.
> 
> Am I going to run into issues with this?  Based
> on other mailing list postings, I suspect that this may cause the
> "too many
> boolean queries" issue when I search for date ranges.  Is this true? 
> What
> are my options for getting around this issue?
> 
> Any advice is appreciated.
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message