Interface DocValuesField

All Superinterfaces:
Field
All Known Implementing Classes:
DelegateDocValuesField

public interface DocValuesField extends Field
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a ScriptDocValues of the appropriate type for this field.
    void
    setNextDocId(int docId)
    Set the current document ID.

    Methods inherited from interface org.elasticsearch.script.field.Field

    getName, isEmpty, size
  • 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.