Created
March 3, 2016 14:47
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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