On Wed, 2005-01-19 at 23:24, Otis Gospodnetic wrote:
> To answer the original question, yes, I think it would be handy to have
> this method back. Perhaps we should revive it/them, ha?
LIMO and Luke use this method (even though it is deprecated) to show the
user when the index was last updated.
uses this trick will break.
To answer the original question, yes, I think it would be handy to have
this method back. Perhaps we should revive it/them, ha?
Otis
--- Chris Hostetter <[EMAIL PROTECTED]> wrote:
>
> : Why IndexReader.lastModified(index) is depricated?
>
: Why IndexReader.lastModified(index) is depricated?
Did you read the javadocs?
Synchronization of IndexReader and IndexWriter instances is no longer
done via time stamps of the segments file since the time resolution
depends on the hardware platform. Instead, a version number is
Erik,Otis,*,
Why IndexReader.lastModified(index) is depricated?
It's always a good idea to know when the index changed last time, for
example for queries reload, optimization etc.
IndexReader.getCurrentVersion(index) introduced as alternative is not the
same, cause I'd like to know no