Doubts about any field of wildcard

hello everyone
I currently have a problem. I want to search exactly for field a and match the search for field b.

this is my code

GET /_search
{
  "query": {
    "bool": {
      "must": [
        { "multi_match": { "query": "biden","fields": [ "*.keyword"] } },
        { "wildcard": { "email.keyword": "123456*" } }
      ]
    }
  }
}

As you can see, I not only want to use wildcard to search the 'email' field but also phone, name and any fields (maybe wildcard cannot do this) How can I do this?

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