Skip to content

Instantly share code, notes, and snippets.

Created November 26, 2016 22:52
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 anonymous/5d2e78520dcbaacdca224a455a9a3311 to your computer and use it in GitHub Desktop.
Save anonymous/5d2e78520dcbaacdca224a455a9a3311 to your computer and use it in GitHub Desktop.
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 2,
"max_score": 0,
"hits": []
},
"aggregations": {
"nested": {
"doc_count": 4,
"filter": {
"doc_count": 2,
"t": {
"hits": {
"total": 2,
"max_score": 1,
"hits": [
{
"_index": "bookindex",
"_type": "book",
"_id": "1",
"_nested": {
"field": "chapters",
"offset": 0
},
"_score": 1,
"_source": {
"title": "epilogue",
"length": 1230
}
},
{
"_index": "bookindex",
"_type": "book",
"_id": "2",
"_nested": {
"field": "chapters",
"offset": 0
},
"_score": 1,
"_source": {
"title": "epilogue",
"length": 17
}
}
]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment