You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Pasha Bizhan <lu...@lucenedotnet.com> on 2006/02/05 19:45:32 UTC
RE: svn commit: r375070
Hi,
Does this patch require to reindex all data?
Pasha Bizhan
> Author: dnaber
> Date: Sun Feb 5 10:17:02 2006
> New Revision: 375070
>
> URL: http://svn.apache.org/viewcvs?rev=375070&view=rev
> Log:
> DateTools needs to use UTC for correct collation
> (LUCENE-491), patch by John Haxby
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: svn commit: r375070
Posted by John Haxby <jc...@scalix.com>.
Daniel Naber wrote:
>On Sonntag 05 Februar 2006 19:45, Pasha Bizhan wrote:
>
>
>>Does this patch require to reindex all data?
>>
>>
>>>URL: http://svn.apache.org/viewcvs?rev=375070&view=rev
>>>Log:
>>>DateTools needs to use UTC for correct collation
>>>(LUCENE-491), patch by John Haxby
>>>
>>>
>
>If your timezone is not UTC and your dates need to be accurate to the hour,
>then yes.
>
>
That's true, but be aware that, for example, Monday, 6pm PST is Tuesday,
2am, GMT. Even if you have Resolution.YEAR then the last few hours of
2005 in California are actually 2006 GMT.
If you're worried about events crossing date boundary then you'll need
to re-index.
jch
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: svn commit: r375070
Posted by Daniel Naber <lu...@danielnaber.de>.
On Sonntag 05 Februar 2006 19:45, Pasha Bizhan wrote:
> Does this patch require to reindex all data?
> > URL: http://svn.apache.org/viewcvs?rev=375070&view=rev
> > Log:
> > DateTools needs to use UTC for correct collation
> > (LUCENE-491), patch by John Haxby
If your timezone is not UTC and your dates need to be accurate to the hour,
then yes.
Regards
Daniel
--
http://www.danielnaber.de
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org