java.lang.Object | |
↳ | org.apache.lucene.search.Scorer.ScorerVisitor<P extends org.apache.lucene.search.Query, C extends org.apache.lucene.search.Query, S extends org.apache.lucene.search.Scorer> |
A callback to gather information from a scorer and its sub-scorers. Each the top-level scorer as well as each of its sub-scorers are passed to either one of the visit methods depending on their boolean relationship in the query.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked for all optional scorer
| |||||||||||
Invoked for all prohibited scorer
| |||||||||||
Invoked for all required scorer
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Invoked for all optional scorer
parent | the parent query of the child query or null if the child is a top-level query |
---|---|
child | the query of the currently visited scorer |
scorer | the current scorer |
Invoked for all prohibited scorer
parent | the parent query of the child query or null if the child is a top-level query |
---|---|
child | the query of the currently visited scorer |
scorer | the current scorer |
Invoked for all required scorer
parent | the parent query of the child query or null if the child is a top-level query |
---|---|
child | the query of the currently visited scorer |
scorer | the current scorer |