public static class ScriptedSimilarity.Doc
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
float |
getFreq() |
Return the number of occurrences of the term in the current document for the considered field.
|
int |
getLength() |
Return the number of tokens that the current document has in the considered field.
|
public int getLength() throws java.io.IOException
java.io.IOException
public float getFreq()