Package org.apache.lucene.document
Class FeatureField.LogFunction
- java.lang.Object
-
- org.apache.lucene.document.FeatureField.FeatureFunction
-
- org.apache.lucene.document.FeatureField.LogFunction
-
- Enclosing class:
- FeatureField
static final class FeatureField.LogFunction extends FeatureField.FeatureFunction
-
-
Field Summary
Fields Modifier and Type Field Description private floatscalingFactor
-
Constructor Summary
Constructors Constructor Description LogFunction(float a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)(package private) Explanationexplain(java.lang.String field, java.lang.String feature, float w, int freq)inthashCode()(package private) Similarity.SimScorerscorer(float weight)java.lang.StringtoString()-
Methods inherited from class org.apache.lucene.document.FeatureField.FeatureFunction
rewrite
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
scorer
Similarity.SimScorer scorer(float weight)
- Specified by:
scorerin classFeatureField.FeatureFunction
-
explain
Explanation explain(java.lang.String field, java.lang.String feature, float w, int freq)
- Specified by:
explainin classFeatureField.FeatureFunction
-
-