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 documentfloatscore()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:ScorableReturns the score of the current document matching the query.- Specified by:
scorein classScorable- Throws:
IOException
-
getChildren
Description copied from class:ScorableReturns child sub-scorers positioned on the current document- Overrides:
getChildrenin classScorable- Throws:
IOException
-