Created
November 20, 2012 03:26
-
-
Save chrismale/4115758 to your computer and use it in GitHub Desktop.
ElasticSearch DSL and NumericRangeQuery
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
{ | |
"filtered" : { | |
"query" : { | |
"query_string" : { | |
"query" : "YOUR_QUERY_STRING" | |
} | |
}, | |
"filter" : { | |
"numeric_range" : { | |
"from" : "LOWER_END", | |
"to" : "UPPER_END" | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment