Class Explain
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.Explain
-
public class Explain extends Object
Search explain plan used in the Content Optimiser.- Since:
- 11.0
-
-
Field Summary
Fields Modifier and Type Field Description int
consat
The number of constraints this result satisfiedMap<CoolerWeighting,Float>
featureScores
Map of float scores for each ranking feature.float
finalScore
The final score for this resultfloat
lenratio
The length ratio of this document relative to the average document, measured in content words
-
Constructor Summary
Constructors Constructor Description Explain()
Explain(float finalScore, int consat, float lenratio, Map<CoolerWeighting,Float> featureScores)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConsat()
The number of constraints this result satisfiedMap<CoolerWeighting,Float>
getFeatureScores()
Map of float scores for each ranking feature.float
getFinalScore()
The final score for this resultfloat
getLenratio()
The length ratio of this document relative to the average document, measured in content words
-
-
-
Field Detail
-
finalScore
public float finalScore
The final score for this result
-
consat
public int consat
The number of constraints this result satisfied
-
lenratio
public float lenratio
The length ratio of this document relative to the average document, measured in content words
-
featureScores
public Map<CoolerWeighting,Float> featureScores
Map of float scores for each ranking feature.
Feature names are specified by their unique short name + id.
-
-
Constructor Detail
-
Explain
public Explain()
-
Explain
public Explain(float finalScore, int consat, float lenratio, Map<CoolerWeighting,Float> featureScores)
-
-
Method Detail
-
getFinalScore
public float getFinalScore()
The final score for this result
-
getConsat
public int getConsat()
The number of constraints this result satisfied
-
getLenratio
public float getLenratio()
The length ratio of this document relative to the average document, measured in content words
-
getFeatureScores
public Map<CoolerWeighting,Float> getFeatureScores()
Map of float scores for each ranking feature.
Feature names are specified by their unique short name + id.
-
-