Nested field query

Hi All,

Could someone please help me on below requirement,

"industryCodes": {
"industryCodeTypes": [
{
"typeCode": "1016",
"typeDescription": "xxxx",
"industryCode": {
"code": "6111",
"description": true
}
},
{
"typeCode": "19295",
"typeDescription": "xxxx",
"industryCode": {
"code": "64999",
"description": true
}
}
]
}

I need query to get the documents on the combination of typeCode and industryCode.code. As these are the nested, we don't have a separate mapping file, we are following dynamic mapping. So I can't see any keyword called nested in the mapping file.

could you please help me on writing query to get the documents.

Thanks & Regards,
Ram Prasad G

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