Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ES: filter query
{
  "query": {
    "bool": {
      "filter": {
        "bool": {
          "must": [
            {
              "multi_match": {
                "query": "brad",
                "fields": [
                  "email.suggestion",
                  "full_name.suggestion"
                ]
              }
            }
          ]
        }
      }
    }
  },
  "size": 25
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment