You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2013/07/18 15:42:58 UTC
svn commit: r1504464 - in /lucene/dev/branches/lucene_solr_4_4: ./ lucene/
lucene/core/
lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java
Author: mikemccand
Date: Thu Jul 18 13:42:58 2013
New Revision: 1504464
URL: http://svn.apache.org/r1504464
Log:
javadocs
Modified:
lucene/dev/branches/lucene_solr_4_4/ (props changed)
lucene/dev/branches/lucene_solr_4_4/lucene/ (props changed)
lucene/dev/branches/lucene_solr_4_4/lucene/core/ (props changed)
lucene/dev/branches/lucene_solr_4_4/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java
Modified: lucene/dev/branches/lucene_solr_4_4/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_4/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java?rev=1504464&r1=1504463&r2=1504464&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_4/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java (original)
+++ lucene/dev/branches/lucene_solr_4_4/lucene/core/src/java/org/apache/lucene/index/IndexDeletionPolicy.java Thu Jul 18 13:42:58 2013
@@ -78,6 +78,8 @@ public abstract class IndexDeletionPolic
* @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;