Parent-Child Mapping
Requires mapping at the time of index creation or using update-mapping
Creating new index with two types for parent-child relationship:
curl -XPUT 'localhost:9200/politics?pretty=true' -d ' { "mappings": { "party": {}, "supporter": { "_parent": { "type": "party" } } } }'
Last updated
Was this helpful?