Package org.elasticsearch.client.core
Class TermVectorsResponse
- java.lang.Object
-
- org.elasticsearch.client.core.TermVectorsResponse
-
public class TermVectorsResponse extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermVectorsResponse.TermVector
-
Constructor Summary
Constructors Constructor Description TermVectorsResponse(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static TermVectorsResponsefromXContent(XContentParser parser)longgetDocVersion()Returns the document versionbooleangetFound()Returns if the document is found alwaystruefor artificial documentsStringgetId()Returns the id of the request can be NULL if there is no document IDStringgetIndex()Returns the index for the responseList<TermVectorsResponse.TermVector>getTermVectorsList()Returns the list of term vectorslonggetTookInMillis()Returns the time that a request took in millisecondsStringgetType()Deprecated.Types are in the process of being removed.inthashCode()
-
-
-
Constructor Detail
-
TermVectorsResponse
public TermVectorsResponse(String index, String type, String id, long version, boolean found, long tookInMillis, List<TermVectorsResponse.TermVector> termVectorList)
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse fromXContent(XContentParser parser)
-
getIndex
public String getIndex()
Returns the index for the response
-
getType
@Deprecated public String getType()
Deprecated.Types are in the process of being removed.Returns the type for the response
-
getId
public String 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
public List<TermVectorsResponse.TermVector> getTermVectorsList()
Returns the list of term vectors
-
-