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",
"index.store.compress.stored": true
},
"mappings": {
"organization": {
"_parent": {
"type": "organization"
},
"_ttl": {
"enabled": true
}
}
}
}
PUT test_index/organization/org_1?routing=1
{
"org_wk":1
}
put test_index/organization/org_2?parent=org_1
{
"org_wk":2
}
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
work???
Thanks!
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/72e9d99d-de12-4d57-9662-a16194c0a755%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.