P - Score parameter typeF - The type to apply scores topublic interface ScoreStrategy<P,F>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canScoreField(ScoreParameters<P> parameters,
F field)
Determine whether or not scoring of a particular field should be done, allowing
PreScorers from the analyze to be taken into consideration. |
Collection<F> |
getFieldsToScore(P params)
Determine the collection of fields to score given the specified params
|
Collection<F> getFieldsToScore(P params)
params - Parameter for the scoringboolean canScoreField(ScoreParameters<P> parameters, F field)
PreScorers from the analyze to be taken into consideration.parameters - Parameters, including analyze objects created by PreScorers.field - The field to score or not to score, that is the question.Copyright © 2014. All rights reserved.