From 9c14f4a2fd53ade97fd3f628fdb40e049b9776c2 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 16 Jul 2013 15:26:38 +0000 Subject: [PATCH] javadocs git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503759 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/index/IndexDeletionPolicy.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java b/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java index ca04f30bd37..a5b0aabf3ec 100644 --- a/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java +++ b/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java @@ -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 commits) throws IOException;