mirror of https://github.com/apache/lucene.git
LUCENE-1974: fix nasty scoring bug causing BooleanScorer to miss docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b22b22beb
commit
c4aca4bf8e
|
@ -87,7 +87,7 @@ public abstract class Scorer extends DocIdSetIterator {
|
|||
collector.collect(doc);
|
||||
doc = nextDoc();
|
||||
}
|
||||
return doc == NO_MORE_DOCS;
|
||||
return doc != NO_MORE_DOCS;
|
||||
}
|
||||
|
||||
/** Returns the score of the current document matching the query.
|
||||
|
|
Loading…
Reference in New Issue