java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.MetadataFieldMapper
org.elasticsearch.index.mapper.IdFieldMapper
- All Implemented Interfaces:
Cloneable,Iterable<Mapper>,ToXContent,ToXContentFragment
- Direct Known Subclasses:
ProvidedIdFieldMapper,TsidExtractingIdFieldMapper
A mapper for the _id field.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MetadataFieldMapper
MetadataFieldMapper.Builder, MetadataFieldMapper.ConfigurableTypeParser, MetadataFieldMapper.FixedTypeParser, MetadataFieldMapper.TypeParserNested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.MergeValidator<T>, FieldMapper.MultiFields, FieldMapper.Parameter<T>, FieldMapper.Serializer<T>, FieldMapper.SerializerCheck<T>Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final MetadataFieldMapper.TypeParserFields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFields, onScriptErrorFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Stringabstract StringdocumentDescription(DocumentParserContext context) Description of the document being parsed used in error messages.abstract StringdocumentDescription(ParsedDocument parsedDocument) Description of the document being indexed used after parsing for things like version conflicts.abstract StringBuild the_idto use on requests reindexing into indices using this_id.static org.apache.lucene.document.FieldCreate aFieldto store the provided_idthat "stores" the_idso it can be fetched easily from the index.Methods inherited from class org.elasticsearch.index.mapper.MetadataFieldMapper
getMergeBuilder, parseCreateField, postParse, preParse, toXContent, updateableBoolParamMethods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, copyTo, doValidate, doXContentBody, executeScript, fieldType, hasScript, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, parse, parsesArrayValue, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
internFieldName, simpleName, syntheticFieldLoader, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
CONTENT_TYPE
- See Also:
-
PARSER
-
-
Constructor Details
-
IdFieldMapper
-
-
Method Details
-
indexAnalyzers
- Overrides:
indexAnalyzersin classFieldMapper
-
contentType
- Specified by:
contentTypein classFieldMapper
-
documentDescription
Description of the document being parsed used in error messages. Not called unless there is an error. -
documentDescription
Description of the document being indexed used after parsing for things like version conflicts. -
reindexId
Build the_idto use on requests reindexing into indices using this_id. -
standardIdField
Create aFieldto store the provided_idthat "stores" the_idso it can be fetched easily from the index.
-