Package org.elasticsearch.index.mapper
Class DocumentMapperParser
- java.lang.Object
-
- org.elasticsearch.index.mapper.DocumentMapperParser
-
public class DocumentMapperParser extends Object
-
-
Constructor Summary
Constructors Constructor Description DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckNoRemainingFields(String fieldName, Map<?,?> fieldNodeMap, Version indexVersionCreated)static voidcheckNoRemainingFields(Map<?,?> fieldNodeMap, Version indexVersionCreated, String message)DocumentMapperparse(String type, CompressedXContent source)DocumentMapperparse(String type, CompressedXContent source, String defaultSource)Mapper.TypeParser.ParserContextparserContext()
-
-
-
Constructor Detail
-
DocumentMapperParser
public DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)
-
-
Method Detail
-
parserContext
public Mapper.TypeParser.ParserContext parserContext()
-
parse
public DocumentMapper parse(@Nullable String type, CompressedXContent source) throws MapperParsingException
- Throws:
MapperParsingException
-
parse
public DocumentMapper parse(@Nullable String type, CompressedXContent source, String defaultSource) throws MapperParsingException
- Throws:
MapperParsingException
-
checkNoRemainingFields
public static void checkNoRemainingFields(String fieldName, Map<?,?> fieldNodeMap, Version indexVersionCreated)
-
-