Class Mapper.TypeParser.ParserContext

java.lang.Object
org.elasticsearch.index.mapper.Mapper.TypeParser.ParserContext
Enclosing interface:
Mapper.TypeParser

public static class Mapper.TypeParser.ParserContext
extends java.lang.Object
  • Constructor Details

  • Method Details

    • getIndexAnalyzers

      public IndexAnalyzers getIndexAnalyzers()
    • getIndexSettings

      public IndexSettings getIndexSettings()
    • isIdFieldDataEnabled

      public java.util.function.BooleanSupplier isIdFieldDataEnabled()
    • getSettings

      public Settings getSettings()
    • getSimilarity

      public SimilarityProvider getSimilarity​(java.lang.String name)
    • typeParser

      public Mapper.TypeParser typeParser​(java.lang.String type)
    • runtimeFieldTypeParser

      public RuntimeFieldType.Parser runtimeFieldTypeParser​(java.lang.String type)
    • supportsDynamicRuntimeMappings

      public boolean supportsDynamicRuntimeMappings()
    • indexVersionCreated

      public Version indexVersionCreated()
    • searchExecutionContext

      public java.util.function.Supplier<SearchExecutionContext> searchExecutionContext()
    • getDateFormatter

      public DateFormatter getDateFormatter()
      Gets an optional default date format for date fields that do not have an explicit format set If null, then date fields will default to DateFieldMapper.DEFAULT_DATE_TIME_FORMATTER.
    • isWithinMultiField

      public boolean isWithinMultiField()
    • isFromDynamicTemplate

      public boolean isFromDynamicTemplate()
      true if this pars context is coming from parsing dynamic template mappings
    • similarityLookupService

      protected java.util.function.Function<java.lang.String,​SimilarityProvider> similarityLookupService()
    • scriptService

      public ScriptService scriptService()
      The ScriptService to compile scripts needed by the Mapper.