Created
September 11, 2014 08:45
-
-
Save radu-gheorghe/7d6bcf5c6858537d06b7 to your computer and use it in GitHub Desktop.
limit filter
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
{ | |
"from": 0, | |
"size": 25, | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": {} | |
}, | |
"filter": { | |
"bool": { | |
"must": { | |
"limit": { | |
"value": 10 | |
} | |
}, | |
"must_not": { | |
"term": { | |
"available": false | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment