protected class ConstantScoreQuery.ConstantBulkScorer extends BulkScorer
BulkScorer so that if the CSQ
wraps a query with its own optimized top-level
scorer (e.g. BooleanScorer) we can use that
top-level scorer.| Constructor and Description |
|---|
ConstantScoreQuery.ConstantBulkScorer(BulkScorer bulkScorer,
Weight weight,
float theScore) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
score(Collector collector,
int max)
Collects matching documents in a range.
|
scorepublic ConstantScoreQuery.ConstantBulkScorer(BulkScorer bulkScorer, Weight weight, float theScore)
public boolean score(Collector collector, int max) throws IOException
BulkScorerscore in class BulkScorercollector - The collector to which all matching documents are passed.max - Score up to, but not including, this docIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.