Class TermVectorsService

java.lang.Object
org.elasticsearch.index.termvectors.TermVectorsService

public class TermVectorsService extends Object
  • Method Details

    • getTermVectors

      public static TermVectorsResponse getTermVectors(IndexShard indexShard, TermVectorsRequest request)
    • fields

      public static org.apache.lucene.index.Fields fields(org.apache.lucene.index.IndexReader reader)
    • getValues

      public static String[] getValues(org.apache.lucene.index.IndexableField[] fields)
      Returns an array of values of the field specified as the method parameter. This method returns an empty array when there are no matching fields. It never returns null.
      Parameters:
      fields - The IndexableField to get the values from
      Returns:
      a String[] of field values