You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com> on 2008/08/26 13:20:19 UTC

Add IndexReader#getCommitPoints()

Is there any way to know what are the available commit points
available in an index?

This would be helpful to provide a rollback feature to rollback to a
commitpoint .

--Noble

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


Re: Add IndexReader#getCommitPoints()

Posted by Michael McCandless <lu...@mikemccandless.com>.
Yes -- there's now (in trunk) a static  
IndexReader.listCommits(Directory) method.

Mike

Noble Paul നോബിള്‍ नोब्ळ् wrote:

> Is there any way to know what are the available commit points
> available in an index?
>
> This would be helpful to provide a rollback feature to rollback to a
> commitpoint .
>
> --Noble
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


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