Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse.TermVector
- Enclosing class:
- TermVectorsResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionTermVector(String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, List<TermVectorsResponse.TermVector.Term> terms) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromXContent(org.elasticsearch.common.xcontent.XContentParser parser, String fieldName)Returns the field name of the current term vectorReturns the field statistics for the current fieldgetTerms()Returns the list of terms for the current term vectorinthashCode()
-
Constructor Details
-
TermVector
public TermVector(String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, List<TermVectorsResponse.TermVector.Term> terms)
-
-
Method Details
-
fromXContent
public static TermVectorsResponse.TermVector fromXContent(org.elasticsearch.common.xcontent.XContentParser parser, String fieldName) -
getFieldName
Returns the field name of the current term vector -
getTerms
Returns the list of terms for the current term vector -
getFieldStatistics
Returns the field statistics for the current field -
equals
-
hashCode
public int hashCode()
-