| Modifier and Type | Class and Description |
|---|---|
static interface |
PredicateScorer.ScorePredicate<F> |
| Constructor and Description |
|---|
PredicateScorer(PredicateScorer.ScorePredicate<F> predicate) |
| 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 PredicateScorer(PredicateScorer.ScorePredicate<F> predicate)
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.