WARNING: Version 0.90 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
_parent
edit_parent
editThe parent field mapping is defined on a child mapping, and points to
the parent type this child relates to. For example, in case of a blog
type and a blog_tag
type child document, the mapping for blog_tag
should be:
{ "blog_tag" : { "_parent" : { "type" : "blog" } } }
The mapping is automatically stored and indexed (meaning it can be
searched on using the _parent
field notation).