Class ParentJoinFieldMapper

All Implemented Interfaces:
Cloneable, Iterable<Mapper>, ToXContent, ToXContentFragment

public final class ParentJoinFieldMapper extends FieldMapper
A FieldMapper that creates hierarchical joins (parent-join) between documents in the same index. Only one parent-join field can be defined per index. The verification of this assumption is done through the MetaJoinFieldMapper which declares a meta field called "_parent_join". This field is only used to ensure that there is a single parent-join field defined in the mapping and cannot be used to index or query any data.