Getting Map Object related issue when using Elasticsearch with Jest Api


(Mayank Shukla) #1
I am using **Elasticsearch** with the help of  **Jest Api** for storing my data into Elasticsearch and also for retrieval purpose.when i am putting my data into Elasticsearch its stored properly but when i am trying to retrieve my data and  to display into **Jsp** form i am getting error after debug i found that in my Elasticsearch json data there is map keyword is available for nested object which causes i am getting error.while in Elasticsearch dosumentation didn't get this keyword anywhere.
**Below is sample json code on which you can see map object-**

{
"_source":{
"map":{
"approvalStatus":{
"map":{
"statusId":2,
"jobDescription":{

           },
           "status":"approval"
                 }
         }
     }
 }

}
So Please resolve my issue.
Thanks


(system) #2