You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by ho...@apache.org on 2007/11/19 23:03:23 UTC

svn commit: r596462 - /lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java

Author: hossman
Date: Mon Nov 19 14:03:22 2007
New Revision: 596462

URL: http://svn.apache.org/viewvc?rev=596462&view=rev
Log:
documents with a score <= 0 can in fact be collected as matches

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java?rev=596462&r1=596461&r2=596462&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/HitCollector.java Mon Nov 19 14:03:22 2007
@@ -24,8 +24,8 @@
  * @version $Id$
  */
 public abstract class HitCollector {
-  /** Called once for every non-zero scoring document, with the document number
-   * and its score.
+  /** Called once for every document matching a query, with the document
+   * number and its raw score.
    *
    * <P>If, for example, an application wished to collect all of the hits for a
    * query in a BitSet, then it might:<pre>