lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: IndexReader.lastModified( replacement?
Date Tue, 07 Feb 2012 20:41:50 GMT

An index directory is always a CompositeReader, so single segment never
knows a modification date, so it's not part of AtomicReader. The only part
that might know anything about index commits, directories,... is
DirectoryReader (see my blog post).

But all that's not the cause for your problem it has nothing to do with my
refactoring, lastModified is broken and was removed by Mike McCandless:


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Ryan McKinley []
> Sent: Tuesday, February 07, 2012 9:30 PM
> To:
> Subject: IndexReader.lastModified( replacement?
> I'm upgrading some stuff to lucene trunk....  is there any way to get the
> modified date from an AtomicReader?  or an AtomicReaderContext?
> thanks
> ryan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: For additional
> commands, e-mail:

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

View raw message