Class ScriptedSimilarity.Doc
java.lang.Object
org.elasticsearch.index.similarity.ScriptedSimilarity.Doc
- Enclosing class:
- ScriptedSimilarity
Statistics that are specific to a document.
-
Method Summary
-
Method Details
-
getLength
public int getLength()Return the number of tokens that the current document has in the considered field. -
getFreq
public float getFreq()Return the number of occurrences of the term in the current document for the considered field.
-