For a given term query search request, will i be able to find the number terms matched for each of the value returned by ElasticSearch?
If suppose i have a input as -
{
"query": {
"match" : {
"message" : "this is a test"
}
}
}
and for this if suppose i get matched values as - 'this man' and 'this man test'.
here the number of terms matched wrt the request for 'this man' is 1 and for 'this man test' is 2.
Is there a way to directly get this number in the response?