Class FieldMapper.BuilderWithSyntheticSourceContext

java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.index.mapper.FieldMapper.BuilderWithSyntheticSourceContext
All Implemented Interfaces:
ToXContent, ToXContentFragment
Direct Known Subclasses:
TextFieldMapper.Builder
Enclosing class:
FieldMapper

public abstract static class FieldMapper.BuilderWithSyntheticSourceContext extends FieldMapper.Builder
Creates mappers for fields that require additional context for supporting synthetic source.
  • Constructor Details

    • BuilderWithSyntheticSourceContext

      protected BuilderWithSyntheticSourceContext(String name, IndexVersion indexCreatedVersion, boolean isSyntheticSourceEnabled, boolean isWithinMultiField)
  • Method Details

    • indexCreatedVersion

      public IndexVersion indexCreatedVersion()
    • isSyntheticSourceEnabled

      public boolean isSyntheticSourceEnabled()
    • isWithinMultiField

      public boolean isWithinMultiField()