Skip to content

Instantly share code, notes, and snippets.

@vinpereira
Created March 3, 2016 14:47
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 vinpereira/4e6ce4a23f4139bc16f7 to your computer and use it in GitHub Desktop.
Save vinpereira/4e6ce4a23f4139bc16f7 to your computer and use it in GitHub Desktop.
From SQL to ES - How to check if a parameter is equals to a value
{
"filter": {
"bool": {
"should": [
{
"term": { "variables.rawValue": "@eps" }
},
{
??? "@eps": "ABC" ???
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment