Are you thinking this would just fallback to Directory.fileModified on
the segments_N file for that commit?
You could actually do that without any API change, because IndexCommit
exposes a getSegmentsFileName().
Mike
Akshay wrote:
Hi,
We need a feature for time based cleanup of IndexCommits. Would it be
possible to add a method to IndexCommit class to get the timestamp
of an
index commit?
Thanks.
--
Regards,
Akshay Ukey.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]