public static class ScriptedSimilarity.Field
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
getDocCount()
Return the number of documents that have a value for this field.
|
long |
getSumDocFreq()
Return the sum of
ScriptedSimilarity.Term.getDocFreq() for all terms that exist in this field,
or -1 if this statistic is not available. |
long |
getSumTotalTermFreq()
Return the sum of
ScriptedSimilarity.Term.getTotalTermFreq() for all terms that exist in this field,
or -1 if this statistic is not available. |
public long getDocCount()
public long getSumDocFreq()
ScriptedSimilarity.Term.getDocFreq()
for all terms that exist in this field,
or -1
if this statistic is not available.public long getSumTotalTermFreq()
ScriptedSimilarity.Term.getTotalTermFreq()
for all terms that exist in this field,
or -1
if this statistic is not available.