lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen" <jason.rutherg...@gmail.com>
Subject Obtain IndexCommits from directory
Date Tue, 17 Jun 2008 00:35:22 GMT
Need to be able to get a list of IndexCommits for a directory.  Also open an
IndexReader for each IndexCommit.  Am thinking of API such as.  I suppose
this could cause problems for reopen.

IndexCommit[] commits = IndexReader.listCommitPoints(Directory directory);

and

IndexReader.open(IndexCommit commit, Directory directory);

Mime
View raw message