Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.Term
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse.TermVector.Term
- Enclosing class:
- TermVectorsResponse.TermVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent
(org.elasticsearch.xcontent.XContentParser parser, String term) Returns document frequency - the number of documents in the index that contain this termgetScore()
Returns tf-idf score, if the request used some form of terms filteringgetTerm()
Returns the string representation of the termint
Returns term frequency - the number of times this term occurs in the current documentReturns a list of tokens for the termReturns total term frequency - the number of times this term occurs across all documentsint
hashCode()
-
Constructor Details
-
Term
-
-
Method Details
-
fromXContent
public static TermVectorsResponse.TermVector.Term fromXContent(org.elasticsearch.xcontent.XContentParser parser, String term) -
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
Returns document frequency - the number of documents in the index that contain this term -
getTotalTermFreq
Returns total term frequency - the number of times this term occurs across all documents -
getScore
Returns tf-idf score, if the request used some form of terms filtering -
getTokens
Returns a list of tokens for the term -
equals
-
hashCode
public int hashCode()
-