Package org.elasticsearch.client.core
Class TermVectorsResponse
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTermVectorsResponse(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TermVectorsResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)longReturns the document versionbooleangetFound()Returns if the document is found alwaystruefor artificial documentsgetId()Returns the id of the request can be NULL if there is no document IDgetIndex()Returns the index for the responseReturns the list of term vectorslongReturns the time that a request took in millisecondsgetType()Deprecated.Types are in the process of being removed.inthashCode()
-
Constructor Details
-
TermVectorsResponse
public TermVectorsResponse(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList)
-
-
Method Details
-
fromXContent
public static TermVectorsResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getIndex
Returns the index for the response -
getType
Deprecated.Types are in the process of being removed.Returns the type for the response -
getId
Returns the id of the request can be NULL if there is no document ID -
getFound
public boolean getFound()Returns if the document is found alwaystruefor artificial documents -
getDocVersion
public long getDocVersion()Returns the document version -
getTookInMillis
public long getTookInMillis()Returns the time that a request took in milliseconds -
getTermVectorsList
Returns the list of term vectors -
equals
-
hashCode
public int hashCode()
-