org.elasticsearch.index.mapper
Interface DocumentMapperParser
- All Known Implementing Classes:
- XContentDocumentMapperParser
public interface DocumentMapperParser
Method Summary |
DocumentMapper |
parse(java.lang.String mappingSource)
Parses the source mapping definition into a document mapper. |
DocumentMapper |
parse(java.lang.String type,
java.lang.String mappingSource)
Parses the source mapping definition into a document mapper with the specified
type (overriding the one defined in the source mapping). |
parse
DocumentMapper parse(java.lang.String type,
java.lang.String mappingSource)
throws MapperParsingException
- Parses the source mapping definition into a document mapper with the specified
type (overriding the one defined in the source mapping).
- Throws:
MapperParsingException
parse
DocumentMapper parse(java.lang.String mappingSource)
throws MapperParsingException
- Parses the source mapping definition into a document mapper.
- Throws:
MapperParsingException