Hi All, I am facing a problem.How to do mapping of making a object of nested type.I* only wants itemResults object of nested type.*
my document structure is - { "_id": "inspectionresults-07d864fd-76ec-427a-a1c6-b70e420ce3d8", "_rev": "12-64c44ddcfcd477dfa86cdb9d3c659748", "sectionResults": [ { "SectionName": "More Details", "itemResults": [ { "InspectionItem": "Launch Month", "ItemInfo": "" } ] } ] } and my query is - PUT realtek_release_v6_nestedsearch/_mapping { "realtek_release_v6_nestedsearch":{ "properties": { "sectionResults":{ "type": "object", "properties": { "itemResults":{ "type": "nested" } } } } } } error is - "nested object under path [sectionResults] is not of nested type" please send me query according to my document structure.*i only wants itemResults object of nested type*. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7e301db9-8160-475c-90f9-42ae87dcb748%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.