Class PotentiallyUnmappedKeywordEsField

All Implemented Interfaces:
Writeable

public class PotentiallyUnmappedKeywordEsField extends KeywordEsField
This class is used as a marker for fields that may be unmapped, where an unmapped field is a field which exists in the _source but is not mapped in the index. Note that this field may be mapped for some indices, but is unmapped in at least one of them. For indices where the field is unmapped, we will try to load them directly from _source.
  • Constructor Details

    • PotentiallyUnmappedKeywordEsField

      public PotentiallyUnmappedKeywordEsField(String name)
    • PotentiallyUnmappedKeywordEsField

      public PotentiallyUnmappedKeywordEsField(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • getWriteableName

      public String getWriteableName()
      Description copied from class: EsField
      This needs to be overridden by subclasses for specific serialization
      Overrides:
      getWriteableName in class KeywordEsField