Package org.elasticsearch.client.core
Class TermVectorsResponse
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTermVectorsResponse
(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static TermVectorsResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) long
Returns the document versionboolean
getFound()
Returns if the document is found alwaystrue
for 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 vectorslong
Returns the time that a request took in millisecondsgetType()
Deprecated.Types are in the process of being removed.int
hashCode()
-
Constructor Details
-
TermVectorsResponse
public TermVectorsResponse(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList)
-
-
Method Details
-
fromXContent
-
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 alwaystrue
for 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()
-