public class DocumentMapperParser
extends java.lang.Object
Constructor and Description |
---|
DocumentMapperParser(IndexSettings indexSettings,
MapperService mapperService,
IndexAnalyzers indexAnalyzers,
NamedXContentRegistry xContentRegistry,
SimilarityService similarityService,
MapperRegistry mapperRegistry,
java.util.function.Supplier<QueryShardContext> queryShardContextSupplier) |
Modifier and Type | Method and Description |
---|---|
static void |
checkNoRemainingFields(java.util.Map<?,?> fieldNodeMap,
Version indexVersionCreated,
java.lang.String message) |
static void |
checkNoRemainingFields(java.lang.String fieldName,
java.util.Map<?,?> fieldNodeMap,
Version indexVersionCreated) |
DocumentMapper |
parse(java.lang.String type,
CompressedXContent source) |
DocumentMapper |
parse(java.lang.String type,
CompressedXContent source,
java.lang.String defaultSource) |
Mapper.TypeParser.ParserContext |
parserContext(java.lang.String type) |
public DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, IndexAnalyzers indexAnalyzers, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, java.util.function.Supplier<QueryShardContext> queryShardContextSupplier)
public Mapper.TypeParser.ParserContext parserContext(java.lang.String type)
public DocumentMapper parse(@Nullable java.lang.String type, CompressedXContent source) throws MapperParsingException
MapperParsingException
public DocumentMapper parse(@Nullable java.lang.String type, CompressedXContent source, java.lang.String defaultSource) throws MapperParsingException
MapperParsingException
public static void checkNoRemainingFields(java.lang.String fieldName, java.util.Map<?,?> fieldNodeMap, Version indexVersionCreated)
public static void checkNoRemainingFields(java.util.Map<?,?> fieldNodeMap, Version indexVersionCreated, java.lang.String message)