Parent Child references to the Same Type

Okay.. heres something Im trying to do... and it appears that elasticsearch
is ignoring me...

i have a mapping for organizations :

put test_index
"settings": {
"number_of_replicas": 1,
"number_of_shards": 25,
"index.cache.field.type": "soft",
"index.refresh_interval": "10s",
"": true
"mappings": {
"organization": {

     "_parent": {
        "type": "organization"
     "_ttl": {
        "enabled": true


PUT test_index/organization/org_1?routing=1

put test_index/organization/org_2?parent=org_1


very basic... but I want the tree to be nested... so a single org.. can
have n number of child orgs under it... so on and so forth....

Does anyone have any ideas why this wont work? Or how I can make it


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit