I am working on a nested attribute in document. Have two match statement on different field and want to check which of the match statement is getting hit through named_query tag. In the response I am getting result but not the matched_queries object
Where am I going wrong can someone point out ??? or it is not supported ??
**
Query
**
POST master_skills/_search
{
"query": {
"nested": {
"path": "skills",
"query": {
"bool": {
"should": [
{
"match": {
"skills.skill.lower_keyword": {
"query": "microsoft word",
"_name": "keyword"
}
}
},
{
"match": {
"skills.skill.shingle_phrases": {
"query": "microsoft word",
"_name": "phrase"
}
}
}
],
"minimum_should_match": 1
}
}
}
}
}