java.lang.Object
org.elasticsearch.index.mapper.DocumentMapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentMappercreateEmpty(MapperService mapperService) Create a newDocumentMapperthat holds empty mappings.mappers()mapping()<T extends MetadataFieldMapper>
TmetadataMapper(Class<T> type) parse(SourceToParse source) type()voidvalidate(IndexSettings settings, boolean checkLimits)
-
Method Details
-
createEmpty
Create a newDocumentMapperthat holds empty mappings.- Parameters:
mapperService- the mapper service that holds the needed components- Returns:
- the newly created document mapper
-
mapping
-
type
-
mappingSource
-
metadataMapper
-
sourceMapper
-
routingFieldMapper
-
IndexFieldMapper
-
mappers
-
parse
- Throws:
DocumentParsingException
-
validate
-