HI everybody,
I have a document and I would like to know if a specific query matches or not to it. The _explain API returns a : :matched
property which would be sufficient for me, but it also returns the :explanation
object, which is a very big object and not necessary for my purpose.
Is there anything like
GET <index>/<type>/<ID>/_matches
{
"query" : {
"match" : { "message" : "<my query>" }
}
}
Thanks a lot,
Guilherme