How to get matching field in match _all query


(Mozinrat) #1

I am trying
GET _search
{
"query": {
"match": {
"_all":"MCRFX"
}
}
}

I need to find which field the match happened, if that can be found. I am open to use another query, the idea is to search a value in all index and all docs and come up with with relevant doc and field where match happened.

Thanks


(Mark Walkom) #2

Please don't post the same thing multiple times :slight_smile:


(Mark Walkom) #3