Multimatch query on non-analyzed field


(Anirudh Modi) #1

I have an email field, which is non-analyzed,
when I am trying to using a multi-match query with single emails I am getting the right documents,
however, if I am using the same query with multiple emails as its value, it doesnt fetch any document.

This is query for which I can get any results
"multi_match":
{
"fields":["cbe","cfna"],
"query":"anirudh@xyz.com anirudh2@xyz.com",
"operator":"or"
}

Thanks,
Anirudh


(system) #2