Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.Term
- java.lang.Object
-
- org.elasticsearch.client.core.TermVectorsResponse.TermVector.Term
-
- Enclosing class:
- TermVectorsResponse.TermVector
public static final class TermVectorsResponse.TermVector.Term extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TermVectorsResponse.TermVector.TermfromXContent(XContentParser parser, String term)IntegergetDocFreq()Returns document frequency - the number of documents in the index that contain this termFloatgetScore()Returns tf-idf score, if the request used some form of terms filteringStringgetTerm()Returns the string representation of the termintgetTermFreq()Returns term frequency - the number of times this term occurs in the current documentList<TermVectorsResponse.TermVector.Token>getTokens()Returns a list of tokens for the termLonggetTotalTermFreq()Returns total term frequency - the number of times this term occurs across all documentsinthashCode()
-
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse.TermVector.Term fromXContent(XContentParser parser, String term)
-
getTerm
public String getTerm()
Returns the string representation of the term
-
getTermFreq
public int getTermFreq()
Returns term frequency - the number of times this term occurs in the current document
-
getDocFreq
public Integer getDocFreq()
Returns document frequency - the number of documents in the index that contain this term
-
getTotalTermFreq
public Long getTotalTermFreq()
Returns total term frequency - the number of times this term occurs across all documents
-
getScore
public Float getScore()
Returns tf-idf score, if the request used some form of terms filtering
-
getTokens
public List<TermVectorsResponse.TermVector.Token> getTokens()
Returns a list of tokens for the term
-
-