Class TermVectorsResponse

java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse

public class TermVectorsResponse extends Object
  • Constructor Details

  • Method Details

    • fromXContent

      public static TermVectorsResponse fromXContent(org.elasticsearch.xcontent.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 always true 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

      public List<TermVectorsResponse.TermVector> getTermVectorsList()
      Returns the list of term vectors
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object