Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
Spinoff from java-user thread "question about Scorer.freq()" from Koji...
BooleanScorer2 uses DisjunctionSumScorer to score only-SHOULD-clause boolean queries.
But, this scorer does too much work for collectors that never call .score, because it scores while it's matching. It should only call .score on the subs when the caller calls its .score.
This also has the side effect of messing up advanced collectors that gather the freq() of the subs (using LUCENE-2590).
Attachments
Attachments
Issue Links
- breaks
-
LUCENE-2590 Enable access to the freq information in a Query's sub-scorers
- Resolved
- is related to
-
LUCENE-3505 BooleanScorer2.freq() doesnt work unless you call score() first.
- Closed