Created
May 8, 2015 14:02
-
-
Save davidemoro/431aebd16c1ba143a90c to your computer and use it in GitHub Desktop.
elasticsearch query
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
POST /my_index/_search | |
{ | |
"query" : { | |
"filtered": { | |
"query": { | |
"query_string": { | |
"query": "public" | |
} | |
}, | |
"filter": { | |
"term": { | |
"state": "public" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment