Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.FieldStatistics
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse.TermVector.FieldStatistics
- Enclosing class:
- TermVectorsResponse.TermVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
int
long
Returns the sum of document frequencies for all terms in this fieldlong
Returns the sum of total term frequencies of all terms in this fieldint
hashCode()
-
Constructor Details
-
FieldStatistics
public FieldStatistics(long sumDocFreq, int docCount, long sumTotalTermFreq)
-
-
Method Details
-
fromXContent
public static TermVectorsResponse.TermVector.FieldStatistics fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getDocCount
public int getDocCount() -
getSumDocFreq
public long getSumDocFreq()Returns the sum of document frequencies for all terms in this field -
getSumTotalTermFreq
public long getSumTotalTermFreq()Returns the sum of total term frequencies of all terms in this field -
equals
-
hashCode
public int hashCode()
-