mirror of https://github.com/apache/lucene.git
Tweak LeafFieldComparator javadocs (duplicate and copy/paste).
This commit is contained in:
parent
a4970c8685
commit
433ab5ea6d
|
@ -38,9 +38,6 @@ import java.io.IOException;
|
|||
* <li> {@link #compareBottom} Compare a new hit (docID)
|
||||
* against the "weakest" (bottom) entry in the queue.
|
||||
*
|
||||
* <li> {@link #compareBottom} Compare a new hit (docID)
|
||||
* against the "weakest" (bottom) entry in the queue.
|
||||
*
|
||||
* <li> {@link #compareTop} Compare a new hit (docID)
|
||||
* against the top value previously set by a call to
|
||||
* {@link FieldComparator#setTopValue}.
|
||||
|
@ -95,8 +92,8 @@ public interface LeafFieldComparator {
|
|||
*
|
||||
* @param doc that was hit
|
||||
* @return any {@code N < 0} if the doc's value is sorted after
|
||||
* the bottom entry (not competitive), any {@code N > 0} if the
|
||||
* doc's value is sorted before the bottom entry and {@code 0} if
|
||||
* the top entry (not competitive), any {@code N > 0} if the
|
||||
* doc's value is sorted before the top entry and {@code 0} if
|
||||
* they are equal.
|
||||
*/
|
||||
int compareTop(int doc) throws IOException;
|
||||
|
|
Loading…
Reference in New Issue