Package org.elasticsearch.index.mapper
Interface MetadataFieldMapper.TypeParser
- All Superinterfaces:
Mapper.TypeParser
- All Known Implementing Classes:
MetadataFieldMapper.ConfigurableTypeParser
,MetadataFieldMapper.FixedTypeParser
- Enclosing class:
- MetadataFieldMapper
-
Method Summary
Modifier and TypeMethodDescriptiongetDefault(MappingParserContext parserContext)
Get the defaultMetadataFieldMapper
to use, if nothing had to be parsed.
-
Method Details
-
parse
MetadataFieldMapper.Builder parse(String name, Map<String,Object> node, MappingParserContext parserContext) throws MapperParsingException- Specified by:
parse
in interfaceMapper.TypeParser
- Throws:
MapperParsingException
-
getDefault
Get the defaultMetadataFieldMapper
to use, if nothing had to be parsed.- Parameters:
parserContext
- context that may be useful to build the field like analyzers
-