mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 05:19:17 +00:00
LUCENE-2736: clarify DISI.advance()'s javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1104167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
801d63d369
commit
381461d3c9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user