Elasticsearch problem

Hi Everyone i want to fetch the nested data,autosuggestion and spelling suggestion in this document.below my data is there

POST /test_word14/doc/1
{
"name": "Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism (D50-D89)",
"depth": 1,
"children": [{
"name": "Nutritional anemias (D50-D53)",
"depth": 2,
"children": [{
"code": "D50",
"name": "Iron deficiency anemia",
"depth": 3,
"children": [{
"code": "D50.0",
"name": "Iron deficiency anemia secondary to blood loss (chronic)",
"depth": 4
}, {
"code": "D50.1",
"name": "Sideropenic dysphagia",
"depth": 4
}, {
"code": "D50.8",
"name": "Other iron deficiency anemias",
"depth": 4
}, {
"code": "D50.9",
"name": "Iron deficiency anemia, unspecified",
"depth": 4
}]
}]
}]

when i am trying with single object value then i'm able to fetch but problem with the nested data.
second problem is that i want to find the particular word let suppose when i am fetching the name:Sideropenic dysphagia then i am not able to fetch this data.
Third requirment is i want to find the particular word suppose i want to find name:Sideropenic dysphagia then in this case i want only that word but in my case all data will be coming.
Fourth one is i want autosuggestion and spelling suggestion also.
please help me to resolve these issues.
Thankyou

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.