@Deprecated public class NormalizedScorer<Params,Field> extends AbstractScorer<Params,Field>
| Constructor and Description |
|---|
NormalizedScorer(FieldScoreProducer<Params,Field> scoreProducer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
FieldScoreProducer<Params,Field> |
getProducer()
Deprecated.
|
double |
getScoreFor(Field field,
ScoreParameters<Params> scores)
Deprecated.
Determine the score for the given field and parameters.
|
String |
toString()
Deprecated.
|
boolean |
workWith(ScoreParameters<Params> scores)
Deprecated.
Determine if this scorer should apply scores to the fields under the given circumstances.
|
scoreWithpublic NormalizedScorer(FieldScoreProducer<Params,Field> scoreProducer)
public FieldScoreProducer<Params,Field> getProducer()
public boolean workWith(ScoreParameters<Params> scores)
AbstractScorerworkWith in class AbstractScorer<Params,Field>scores - Score parameters and analyzes for the scoringpublic double getScoreFor(Field field, ScoreParameters<Params> scores)
AbstractScorergetScoreFor in interface FScorer<Params,Field>getScoreFor in class AbstractScorer<Params,Field>field - Field to scorescores - Parameters and analyzes for the scoringCopyright © 2014. All rights reserved.