| Constructor and Description |
|---|
SimpleScorer(ScoreInterface<P,F> scorer) |
| Modifier and Type | Method and Description |
|---|---|
double |
getScoreFor(F field,
ScoreParameters<P> scores)
Determine the score for the given field and parameters.
|
FScorer<P,F> |
scoreWith(ScoreParameters<P> scores)
Determine if this scorer should apply scores to the fields under the given circumstances.
|
public SimpleScorer(ScoreInterface<P,F> scorer)
public FScorer<P,F> scoreWith(ScoreParameters<P> scores)
FScorerpublic double getScoreFor(F field, ScoreParameters<P> scores)
FScorergetScoreFor in interface FScorer<P,F>field - Field to scorescores - Parameters and analyzes for the scoringCopyright © 2014. All rights reserved.