Skip to content

Instantly share code, notes, and snippets.

@vikas95prasad
Created March 23, 2020 08:54
Show Gist options
  • Save vikas95prasad/9393909ff439ab82ee1e0058b74590b8 to your computer and use it in GitHub Desktop.
Save vikas95prasad/9393909ff439ab82ee1e0058b74590b8 to your computer and use it in GitHub Desktop.
"aggregations": {
"top_users": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": 72833,
"doc_count": 3,
"top_users_hits": {
"hits": {
"total": 3,
"max_score": null,
"hits": [
{
"_index": "twitter",
"_type": "tweet",
"_id": "AXDtF6b-D1ym9NVF1nEy",
"_score": null,
"_source": {
"created_at": "2020-02-25T10:36:04.000Z",
"updated_at": "2020-02-04T06:11:14.396Z",
"user_id": 72833,
"content_id": 312336,
"last_enqueue_event_time": "2020-02-25T10:36:04.000Z",
"follower_ids": [],
"channel_ids": []
},
"sort": [
1582626964000
]
}
]
}
}
},
{
"key": 72832,
"doc_count": 2,
"top_users_hits": {
"hits": {
"total": 2,
"max_score": null,
"hits": [
{
"_index": "twitter",
"_type": "tweet",
"_id": "AXDtEGbsD1ym9NVF1nEq",
"_score": null,
"_source": {
"created_at": "2020-02-04T06:11:14.395+00:00",
"updated_at": "2020-02-04T06:11:14.396Z",
"user_id": 72832,
"content_id": 312336,
"last_enqueue_event_time": "2019-12-27T10:36:04.000Z",
"follower_ids": [],
"channel_ids": []
},
"sort": [
1577442964000
]
}
]
}
}
},
{
"key": 72835,
"doc_count": 1,
"top_users_hits": {
"hits": {
"total": 1,
"max_score": null,
"hits": [
{
"_index": "twitter",
"_type": "tweet",
"_id": "AXDtF9lfD1ym9NVF1nEz",
"_score": null,
"_source": {
"created_at": "2020-02-25T10:36:04.000Z",
"updated_at": "2020-02-04T06:11:14.396Z",
"user_id": 72835,
"content_id": 312337,
"last_enqueue_event_time": "2020-02-25T10:36:04.000Z",
"follower_ids": [],
"channel_ids": []
},
"sort": [
1582626964000
]
}
]
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment