Package org.apache.lucene.document
Class FeatureField.LinearFunction
- java.lang.Object
-
- org.apache.lucene.document.FeatureField.FeatureFunction
-
- org.apache.lucene.document.FeatureField.LinearFunction
-
- Enclosing class:
- FeatureField
static final class FeatureField.LinearFunction extends FeatureField.FeatureFunction
-
-
Constructor Summary
Constructors Constructor Description LinearFunction()
-
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 w)
java.lang.String
toString()
-
Methods inherited from class org.apache.lucene.document.FeatureField.FeatureFunction
rewrite
-
-
-
-
Method Detail
-
scorer
Similarity.SimScorer scorer(float w)
- 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-