Add ability to open prior commits to IndexReader ------------------------------------------------
Key: LUCENE-1311 URL: https://issues.apache.org/jira/browse/LUCENE-1311 Project: Lucene - Java Issue Type: New Feature Components: Index Affects Versions: 2.3 Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.4 If you use a customized DeletionPolicy, which keeps multiple commits around (instead of the default which is to only preserve the most recent commit), it's useful to be able to list all such commits and then open a reader against one of these commits. I've added this API to list commits: public static Collection IndexReader.listCommits(Directory) and these two new open methods to IndexReader to open a specific commit: public static IndexReader open(IndexCommit) public static IndexReader open(IndexCommit, IndexDeletionPolicy) Spinoff from here: http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200806.mbox/[EMAIL PROTECTED] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]