Skip to content

Instantly share code, notes, and snippets.

@snehalshinde-vel
Last active July 28, 2019 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snehalshinde-vel/20c758dc897194daca95afceb3b3bdd9 to your computer and use it in GitHub Desktop.
Save snehalshinde-vel/20c758dc897194daca95afceb3b3bdd9 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