lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Get the Last Indexed Date
Date Fri, 23 Nov 2012 20:33:52 GMT
You mean the time that a doc, any doc, was last added to an index?
I'm not aware of a way to do that directly.

You can store arbitrary data when you commit changes and get it back
again somehow.  See IndexCommit.getUserData().

Or look at the lastmod timestamps of the files on disk.


--
Ian.


On Fri, Nov 23, 2012 at 2:21 PM, Deepak Shakya <justdpk@gmail.com> wrote:
> Hi,
>
> How can I get the last indexed timestamp of a Lucene Index? I am using
> Lucene 3.6.
>
> --
> With Regards,
> Deepak Shakya

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message