P - Score parameter typeF - The type to apply scores topublic class FieldScoreProducer<P,F> extends Object
| Constructor and Description |
|---|
FieldScoreProducer(ScoreConfig<P,F> config,
ScoreStrategy<P,F> strat) |
| Modifier and Type | Method and Description |
|---|---|
Map<Class<?>,Object> |
analyze(P param) |
FieldScores<P,F> |
analyzeAndScore(P params) |
ScoreConfig<P,F> |
getConfig() |
boolean |
isDetailed() |
FieldScores<P,F> |
score(P params,
Map<Class<?>,Object> analyzes) |
void |
setDetailed(boolean detailed)
Set whether or not each FieldScore should contain detailed information about how much score the field got from all different scorers (including post scorers)
|
public FieldScoreProducer(ScoreConfig<P,F> config, ScoreStrategy<P,F> strat)
public boolean isDetailed()
public void setDetailed(boolean detailed)
detailed - True if detailed, false otherwise.public ScoreConfig<P,F> getConfig()
public FieldScores<P,F> analyzeAndScore(P params)
Copyright © 2014. All rights reserved.