Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
void |
Scorer.visitScorers(Scorer.ScorerVisitor<Query,Query,Scorer> visitor)
Expert: call this to gather details for all sub-scorers for this query.
|
void |
Scorer.visitSubScorers(Query parent,
BooleanClause.Occur relationship,
Scorer.ScorerVisitor<Query,Query,Scorer> visitor)
Scorer subclasses should implement this method if the subclass
itself contains multiple scorers to support gathering details for
sub-scorers via Scorer.ScorerVisitor
Note: this method will throw UnsupportedOperationException if no
associated Weight instance is provided to
Scorer.Scorer(Weight)
|