Class Field.Term
java.lang.Object
com.yahoo.searchlib.ranking.features.fieldmatch.Field.Term
- Enclosing class:
- Field
A term in a field
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Term
Creates a term with the given value and full exactness (1.0) -
Term
-
-
Method Details
-
value
Returns the string value of this term -
exactness
public float exactness()Returns the degree to which this term is exactly what was in the document (1.0), or some stemmed form (closer to 0)
-