Skip to content

Instantly share code, notes, and snippets.

@skade skade/query.json
Created Sep 16, 2011

Embed
What would you like to do?
Prettier gist
{
"query": {
"filtered": {
"query": {
"text": {
"_all": "poker"
}
},
"filter": [
{
"term": {
"user.role": "expert"
}
},
{
"term": {
"expertprofile.approved": 1
}
},
{
"term": {
"expertprofile.is_public": 1
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.