git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503759 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-07-16 15:26:38 +00:00
parent 8d36a2730d
commit 9c14f4a2fd
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ public abstract class IndexDeletionPolicy implements Cloneable {
* @param commits List of current
* {@link IndexCommit point-in-time commits},
* sorted by age (the 0th one is the oldest commit).
* Note that for a new index this method is invoked with
* an empty list.
*/
public abstract void onInit(List<? extends IndexCommit> commits) throws IOException;