final class ScoreAndDoc extends Scorable
BulkScorers that need to pass a Scorable to LeafCollector.setScorer(org.apache.lucene.search.Scorable).Scorable.ChildScorable| Modifier and Type | Field and Description |
|---|---|
(package private) int |
doc |
(package private) float |
score |
| Constructor and Description |
|---|
ScoreAndDoc() |
| Modifier and Type | Method and Description |
|---|---|
int |
docID()
Returns the doc ID that is currently being scored.
|
float |
score()
Returns the score of the current document matching the query.
|
getChildren, setMinCompetitiveScorepublic int docID()
Scorable