How to search email column in elastic search?

When I run the below query it will bring up the results which contains My expectation would be empty results.
I don't know why it's happening.
GET _search
"query": {
"match": {
"PrimaryEmail": ""

It depends on the analyzer you used at index time and search time and the mapping.

If you are using a keyword type that won't happen.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.