Created
October 28, 2019 08:30
-
-
Save royib/d4a5f5775d318fb525b4e68a6fc0b1a0 to your computer and use it in GitHub Desktop.
Querying Elasticsearch- filterContext
This file contains 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
{ | |
"query": { | |
"bool": { | |
"filter": { | |
"range": { | |
"age": { | |
"gte": 20, | |
"lte": 30 | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment