Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Interface MetadataFieldMapper.TypeParser
- All Known Implementing Classes:
MetadataFieldMapper.ConfigurableTypeParser,MetadataFieldMapper.FixedTypeParser
- Enclosing class:
MetadataFieldMapper
public static interface MetadataFieldMapper.TypeParser
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultBuilder(MappingParserContext parserContext) Get a defaultMetadataFieldMapper.Builderfor this metadata field, using the given parser context.
-
Method Details
-
parse
MetadataFieldMapper.Builder parse(String name, Map<String, Object> node, MappingParserContext parserContext) throws MapperParsingException- Throws:
MapperParsingException
-
getDefaultBuilder
Get a defaultMetadataFieldMapper.Builderfor this metadata field, using the given parser context. Returns null if this metadata field is not applicable for the current index.
-