From 433ab5ea6d795e11156f8096b3ad35ebd205c194 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Wed, 20 Jul 2016 11:42:27 +0100 Subject: [PATCH] Tweak LeafFieldComparator javadocs (duplicate and copy/paste). --- .../java/org/apache/lucene/search/LeafFieldComparator.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/search/LeafFieldComparator.java b/lucene/core/src/java/org/apache/lucene/search/LeafFieldComparator.java index bbf1de88abd..7f84953af7c 100644 --- a/lucene/core/src/java/org/apache/lucene/search/LeafFieldComparator.java +++ b/lucene/core/src/java/org/apache/lucene/search/LeafFieldComparator.java @@ -38,9 +38,6 @@ import java.io.IOException; *
  • {@link #compareBottom} Compare a new hit (docID) * against the "weakest" (bottom) entry in the queue. * - *
  • {@link #compareBottom} Compare a new hit (docID) - * against the "weakest" (bottom) entry in the queue. - * *
  • {@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;