Package org.elasticsearch.join.mapper
Class ParentIdFieldMapper
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.join.mapper.ParentIdFieldMapper
- All Implemented Interfaces:
Cloneable
,Iterable<Mapper>
,org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentFragment
A field mapper used internally by the
ParentJoinFieldMapper
to index
the value that link documents in the index (parent _id or _id if the document is a parent).-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.Builder, FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.MergeValidator<T extends Object>, FieldMapper.MultiFields, FieldMapper.Parameter<T extends Object>, FieldMapper.Serializer<T extends Object>, FieldMapper.SerializerCheck<T extends Object>, FieldMapper.TypeParser
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, indexAnalyzers, mappedFieldType, multiFields, onScriptError
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ModifierConstructorDescriptionprotected
ParentIdFieldMapper
(String name, boolean eagerGlobalOrdinals) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
indexValue
(DocumentParserContext context, String refId) protected void
parseCreateField
(DocumentParserContext context) Methods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, copyTo, doValidate, doXContentBody, executeScript, fieldType, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, parse, parsesArrayValue, toXContent, typeName, validate
Methods inherited from class org.elasticsearch.index.mapper.Mapper
simpleName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
ParentIdFieldMapper
-
-
Method Details
-
parseCreateField
- Specified by:
parseCreateField
in classFieldMapper
-
indexValue
-
contentType
- Specified by:
contentType
in classFieldMapper
-
getMergeBuilder
- Specified by:
getMergeBuilder
in classFieldMapper
-