Skip to content

Instantly share code, notes, and snippets.

@tcocca
Forked from danmactough/query.json
Last active December 25, 2015 00: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 tcocca/6885436 to your computer and use it in GitHub Desktop.
Save tcocca/6885436 to your computer and use it in GitHub Desktop.
{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"bool": {
"must_not": [
{"term": {"topic_ids": "NTfaluJAzhU6ajVN"}},
{"term": {"topic_ids": "NTfaluGitMInkrOI"}},
{"term": {"topic_ids": "NTfaluFWPoBik2OY"}},
{"term": {"topic_ids": "NTfaluFbTeFwbWaD"}},
{"term": {"topic_ids": "NTfaltDBGVSvPvDI"}},
{"term": {"topic_ids": "NTfaluFzZ57DGMMH"}},
{"term": {"topic_ids": "NTfalvAOkAJ5GfFE"}},
{"term": {"topic_ids": "NTfalvAsBtwDDknL"}}
]
}
}
}
},
"sort": [
{
"_timestamp": {
"order": "desc"
}
}
],
"size": 5,
"from": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment