Package org.apache.lucene.search
Class FilterScorable
java.lang.Object
org.apache.lucene.search.Scorable
org.apache.lucene.search.FilterScorable
Filter a
Scorable
, intercepting methods and optionally changing their return values
The default implementation simply passes all calls to its delegate, with the exception of
Scorable.setMinCompetitiveScore(float)
which defaults to a no-op.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns child sub-scorers positioned on the current documentfloat
score()
Returns the score of the current document matching the query.Methods inherited from class org.apache.lucene.search.Scorable
setMinCompetitiveScore, smoothingScore
-
Field Details
-
in
-
-
Constructor Details
-
FilterScorable
Filter a scorer- Parameters:
in
- the scorer to filter
-
-
Method Details
-
score
Description copied from class:Scorable
Returns the score of the current document matching the query.- Specified by:
score
in classScorable
- Throws:
IOException
-
getChildren
Description copied from class:Scorable
Returns child sub-scorers positioned on the current document- Overrides:
getChildren
in classScorable
- Throws:
IOException
-