- 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 float
scalingFactor
-
Constructor Summary
Constructors Constructor Description LogFunction(float a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
(package private) Explanation
explain(java.lang.String field, java.lang.String feature, float w, int freq)
int
hashCode()
(package private) Similarity.SimScorer
scorer(float weight)
java.lang.String
toString()
-
Methods inherited from class org.apache.lucene.document.FeatureField.FeatureFunction
rewrite
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
scorer
Similarity.SimScorer scorer(float weight)
- Specified by:
scorer
in classFeatureField.FeatureFunction
-
explain
Explanation explain(java.lang.String field, java.lang.String feature, float w, int freq)
- Specified by:
explain
in classFeatureField.FeatureFunction
-
-