Skip to content

Instantly share code, notes, and snippets.

@ja-ilija
Last active August 29, 2015 14:20
Show Gist options
  • Save ja-ilija/443cbae3713821e31dc0 to your computer and use it in GitHub Desktop.
Save ja-ilija/443cbae3713821e31dc0 to your computer and use it in GitHub Desktop.
ES prod query
https://ops.gluru.co/esgloo/files/file/_count?routing=11
{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"bool": {
"must": [
{
"term": {
"user_id": "11"
}
}
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment