Skip to content

Instantly share code, notes, and snippets.

@jeremysmitherman
Created September 1, 2015 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremysmitherman/fc191e47c1f1d6e3851d to your computer and use it in GitHub Desktop.
Save jeremysmitherman/fc191e47c1f1d6e3851d to your computer and use it in GitHub Desktop.
{
"sort":[
{
"_score":{
"order":"desc"
}
},
{
"rating":{
"order":"desc"
}
},
{
"pk":{
"order":"desc"
}
}
],
"query":{
"filtered":{
"filter":{
"bool":{
"should":[
],
"must_not":[
{
"term":{
"not_in_packs":true
}
},
{
"term":{
"revision_type":"legend"
}
}
],
"must":[
{
"terms":{
"year":[
15
]
}
}
]
}
},
"query":{
"match_all":{
}
}
}
},
"from":0,
"size":50
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment