You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2011/05/17 13:26:41 UTC
svn commit: r1104159 -
/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java
Author: shaie
Date: Tue May 17 11:26:41 2011
New Revision: 1104159
URL: http://svn.apache.org/viewvc?rev=1104159&view=rev
Log:
LUCENE-2736: clarify DISI.advance()'s javadocs
Modified:
lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java
Modified: lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java?rev=1104159&r1=1104158&r2=1104159&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java (original)
+++ lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/search/DocIdSetIterator.java Tue May 17 11:26:41 2011
@@ -61,9 +61,10 @@ public abstract class DocIdSetIterator {
public abstract int nextDoc() throws IOException;
/**
- * Advances to the first beyond the current whose document number is greater
- * than or equal to <i>target</i>. Returns the current document number or
- * {@link #NO_MORE_DOCS} if there are no more docs in the set.
+ * Advances to the first beyond (see NOTE below) the current whose document
+ * number is greater than or equal to <i>target</i>. Returns the current
+ * document number or {@link #NO_MORE_DOCS} if there are no more docs in the
+ * set.
* <p>
* Behaves as if written:
*
@@ -78,7 +79,7 @@ public abstract class DocIdSetIterator {
*
* Some implementations are considerably more efficient than that.
* <p>
- * <b>NOTE:</b> when <code> target ≤ current</code> implementations may opt
+ * <b>NOTE:</b> when <code> target ≤ current</code> implementations may opt
* not to advance beyond their current {@link #docID()}.
* <p>
* <b>NOTE:</b> this method may be called with {@link #NO_MORE_DOCS} for