Re: Time of last insert

2004-07-27 Thread lingaraju
But that method is "deprecated" and Replaced by getCurrentVersion() - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 27, 2004 6:25 PM Subject: Re: Time of last inser

Re: Time of last insert

2004-07-27 Thread Erik Hatcher
On Jul 27, 2004, at 5:15 AM, Otis Gospodnetic wrote: There is no API for that. Yeah there is! :) IndexReader.lastModified() I borrowed that from LIMO's .jsp page, by the way. Erik - To unsubscribe, e-mail: [EMAIL P

Re: Time of last insert

2004-07-27 Thread Otis Gospodnetic
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 mod

Time of last insert

2004-07-27 Thread lingaraju
Dear All How to know that, when(lastmodified time) last document is added to in index Thanks and regards Raju