public class DocumentMapperParser extends Object
Constructor and Description |
---|
DocumentMapperParser(Settings indexSettings,
MapperService mapperService,
AnalysisService analysisService,
SimilarityLookupService similarityLookupService,
ScriptService scriptService,
MapperRegistry mapperRegistry) |
Modifier and Type | Method and Description |
---|---|
static void |
checkNoRemainingFields(Map<String,Object> fieldNodeMap,
Version indexVersionCreated,
String message) |
static void |
checkNoRemainingFields(String fieldName,
Map<String,Object> fieldNodeMap,
Version indexVersionCreated) |
DocumentMapper |
parse(String type,
CompressedXContent source) |
DocumentMapper |
parse(String type,
CompressedXContent source,
String defaultSource) |
Mapper.TypeParser.ParserContext |
parserContext(String type) |
public DocumentMapperParser(Settings indexSettings, MapperService mapperService, AnalysisService analysisService, SimilarityLookupService similarityLookupService, ScriptService scriptService, MapperRegistry mapperRegistry)
public Mapper.TypeParser.ParserContext parserContext(String type)
public DocumentMapper parse(@Nullable String type, CompressedXContent source) throws MapperParsingException
MapperParsingException
public DocumentMapper parse(@Nullable String type, CompressedXContent source, String defaultSource) throws MapperParsingException
MapperParsingException
public static void checkNoRemainingFields(String fieldName, Map<String,Object> fieldNodeMap, Version indexVersionCreated)
Copyright © 2009–2016. All rights reserved.