Apache Lucene open-source search software
documents with a score <= 0 can in fact be collected as matches
Chris M. Hostetter49e85ee76d74
diff --git a/src/java/org/apache/lucene/search/HitCollector.java b/src/java/org/apache/lucene/search/HitCollector.javaindex 437486c7112..abb77ee3b15 100644--- a/src/java/org/apache/lucene/search/HitCollector.java+++ b/src/java/org/apache/lucene/search/HitCollector.java@@ -24,8 +24,8 @@ package org.apache.lucene.search;* @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>