Class PreAnalyzedMapper.TypeParser
- java.lang.Object
-
- org.elasticsearch.index.mapper.preanalyzed.PreAnalyzedMapper.TypeParser
-
- All Implemented Interfaces:
org.elasticsearch.index.mapper.Mapper.TypeParser
- Enclosing class:
- PreAnalyzedMapper
public static class PreAnalyzedMapper.TypeParser extends Object implements org.elasticsearch.index.mapper.Mapper.TypeParser
Parses the mapping of a preanalyzed field, e.g."properties" : { "text" : { "type" : "preanalyzed", "search_analyzer" : "standard", "store" : true } }Since the preanalyzed field type does not define any properties of its own, parsing the mapping is completely default parsing byTypeParsers.parseField(org.elasticsearch.index.mapper.FieldMapper.Builder, String, Map, org.elasticsearch.index.mapper.Mapper.TypeParser.ParserContext).- Author:
- faessler
-
-
Constructor Summary
Constructors Constructor Description TypeParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.index.mapper.Mapper.Builderparse(String name, Map<String,Object> node, org.elasticsearch.index.mapper.Mapper.TypeParser.ParserContext parserContext)
-
-
-
Method Detail
-
parse
public org.elasticsearch.index.mapper.Mapper.Builder parse(String name, Map<String,Object> node, org.elasticsearch.index.mapper.Mapper.TypeParser.ParserContext parserContext) throws org.elasticsearch.index.mapper.MapperParsingException
- Specified by:
parsein interfaceorg.elasticsearch.index.mapper.Mapper.TypeParser- Throws:
org.elasticsearch.index.mapper.MapperParsingException
-
-