Package org.elasticsearch.index.mapper
Class TypeParsers
java.lang.Object
org.elasticsearch.index.mapper.TypeParsers
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
parseCopyFields(Object propNode)
static DateFormatter
parseDateTimeFormatter(Object node)
Parse themeta
key of the mapping.static boolean
parseMultiField(Consumer<FieldMapper.Builder> multiFieldsBuilder, String name, MappingParserContext parserContext, String propName, Object propNode)
static SimilarityProvider
resolveSimilarity(MappingParserContext parserContext, String name, Object value)
-
Field Details
-
DOC_VALUES
- See Also:
- Constant Field Values
-
INDEX_OPTIONS_DOCS
- See Also:
- Constant Field Values
-
INDEX_OPTIONS_FREQS
- See Also:
- Constant Field Values
-
INDEX_OPTIONS_POSITIONS
- See Also:
- Constant Field Values
-
INDEX_OPTIONS_OFFSETS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
TypeParsers
public TypeParsers()
-
-
Method Details
-
checkNull
-
parseMeta
Parse themeta
key of the mapping. -
parseMultiField
public static boolean parseMultiField(Consumer<FieldMapper.Builder> multiFieldsBuilder, String name, MappingParserContext parserContext, String propName, Object propNode) -
parseDateTimeFormatter
-
parseCopyFields
-
resolveSimilarity
public static SimilarityProvider resolveSimilarity(MappingParserContext parserContext, String name, Object value)
-