Interface DocValuesField<T>

All Superinterfaces:
Field<T>, Iterable<T>
All Known Implementing Classes:
AbstractKeywordDocValuesField, AbstractLongDocValuesField, BinaryDocValuesField, BooleanDocValuesField, ByteDocValuesField, DateMillisDocValuesField, DateNanosDocValuesField, DelegateDocValuesField, DoubleDocValuesField, FlattenedDocValuesField, FloatDocValuesField, GeoPointDocValuesField, HalfFloatDocValuesField, IntegerDocValuesField, IpDocValuesField, KeywordDocValuesField, LongDocValuesField, ScaledFloatDocValuesField, SeqNoDocValuesField, ShortDocValuesField, VersionDocValuesField

public interface DocValuesField<T> extends Field<T>
  • Method Details

    • setNextDocId

      void setNextDocId(int docId) throws IOException
      Set the current document ID.
      Throws:
      IOException
    • getScriptDocValues

      ScriptDocValues<?> getScriptDocValues()
      Returns a ScriptDocValues of the appropriate type for this field. This is used to support backwards compatibility for accessing field values through the doc variable.