You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2016/07/20 12:02:11 UTC

lucene-solr:branch_5x: Tweak LeafFieldComparator javadocs (duplicate and copy/paste).

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_5x 00ad5efac -> c7f1a5d6e


Tweak LeafFieldComparator javadocs (duplicate and copy/paste).


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c7f1a5d6
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c7f1a5d6
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c7f1a5d6

Branch: refs/heads/branch_5x
Commit: c7f1a5d6ea65faec839343e36db478ec04990e68
Parents: 00ad5ef
Author: Christine Poerschke <cp...@apache.org>
Authored: Wed Jul 20 11:42:27 2016 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Wed Jul 20 13:01:28 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/lucene/search/LeafFieldComparator.java    | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c7f1a5d6/lucene/core/src/java/org/apache/lucene/search/LeafFieldComparator.java
----------------------------------------------------------------------
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 bbf1de8..7f84953 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;
  *  <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;