Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 26, 2020 11:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save velotiotech/1285cc010dfa6999f6fc60208b62d94c to your computer and use it in GitHub Desktop.
ES: new query
{
  "query": {
    "bool": {
      "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