Getting nested values in Multi Indices approach

Hi,

i am trying to get the nested value in multi indices approach.

used below query but didn't help. please advise.

GET _all,/_search
{
"query": {
"bool": {
"should": [
{
"nested": {
"path": "_index.student_object.student_object_data",
"query": {
"match": {
"subjectId": "3"
}
}
},
"bool": {

        "filter": [
          {
            "terms": {
              "_index": [
                "student_object"
              ]
            }
          }
        ]
      }
    }
  ]
}

}
}

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