lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: Time of last insert
Date Tue, 27 Jul 2004 12:15:50 GMT
There is no API for that.  You could look at the modification time of
index files, but this is a hack-ish approach, and is not always correct
(index files get modified for other reasons, too, such as deletion).  I
think that the index version (IndexReader class) is actually a time
stamp of last modification, but again this is not for document addition

This is so easy to add to an application that uses Lucene.  Why not
just keep track of last add date in your app?


--- lingaraju <> wrote:

> Dear  All
> How to know that, when(lastmodified time) last document is added to
> in index
> Thanks and regards
> Raju

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message