Skip to content

Instantly share code, notes, and snippets.

@Johnetordoff
Created May 15, 2020 16:37
Show Gist options
  • Save Johnetordoff/5b46f3ccbe56307c9953eb703a8a40ba to your computer and use it in GitHub Desktop.
Save Johnetordoff/5b46f3ccbe56307c9953eb703a8a40ba to your computer and use it in GitHub Desktop.
{'_shards': {'failed': 0, 'skipped': 0, 'successful': 1, 'total': 1},
'aggregations': {'view_timeframe': {'doc_count': 2,
'preprints': {'buckets': [{'doc_count': 1,
'key': 'a8a2892b-7942-4a5a-b24e-1a70fcdb1828'},
{'doc_count': 1,
'key': 'eb970c56-942b-47b9-b028-5fe0d4fa6200'}],
'doc_count_error_upper_bound': 0,
'sum_other_doc_count': 0}}},
'hits': {'hits': [{'_id': 'O3QOUXEBeP7rCVrWfUGV',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5bca39a97cd4540015b129d2',
'preprint_id': 'yra6f',
'provider_id': 'engrxiv',
'sloan_coi': False,
'sloan_id': '2e5dc872-43c6-46ef-a1fd-574fbb109b2e',
'timestamp': '2020-04-06T19:53:56.370662+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'PXQOUXEBeP7rCVrW8EGn',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5bca39a97cd4540015b129d2',
'preprint_id': 'yra6f',
'provider_id': 'engrxiv',
'sloan_coi': False,
'sloan_id': '2e5dc872-43c6-46ef-a1fd-574fbb109b2e',
'timestamp': '2020-04-06T19:54:25.828752+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'PHQOUXEBeP7rCVrWk0Eh',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5e62a030c4d50e00092741b8',
'preprint_id': 'wtn2q',
'provider_id': 'osf',
'sloan_coi': False,
'sloan_id': '2e5dc872-43c6-46ef-a1fd-574fbb109b2e',
'timestamp': '2020-04-06T19:54:01.886642+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'IyokUXEBW4GPhSEODoNB',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5e62a030c4d50e00092741b8',
'preprint_id': 'wtn2q',
'provider_id': 'osf',
'sloan_id': '550bff86-c050-46ef-a345-2be07e761323',
'timestamp': '2020-04-06T20:17:29.661293+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'fwT1dHEBm8YON_A9OTvi',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5e8cc93c33804700090aff1d',
'preprint_id': 'nzfar',
'provider_id': 'bitss',
'sloan_coi': False,
'sloan_id': 'ed2f682c-92d3-4b87-b50b-2cc126695f83',
'timestamp': '2020-04-13T19:12:40.415725+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'SVrBzHEB7iILQvEGCAXz',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5e8539355331350009d697e9',
'preprint_id': '6tsvx',
'provider_id': 'engrxiv',
'sloan_coi': True,
'sloan_id': '61a2d3bb-8cb9-4e9c-8258-0ffdc0328a67',
'timestamp': '2020-04-30T20:22:15.023337+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'TJzBzHEBGb-zZ85NYwwe',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5eab15c764982d000960cdd3',
'preprint_id': 'dzx6c',
'provider_id': 'osf',
'sloan_coi': True,
'sloan_id': '8098cf28-2477-405b-840b-5eb062d7a284',
'timestamp': '2020-04-30T20:22:38.105758+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'yVWR0XEBwaxK0zar6C-R',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5eac64ea17eba50009ce7074',
'preprint_id': 'n7epf',
'provider_id': 'osf',
'sloan_coi': True,
'sloan_data': True,
'sloan_id': '9ceb74a6-91e1-47ae-860b-3532f690e1f3',
'timestamp': '2020-05-01T18:48:52.619548+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'xX7R0XEBdO-3C10qJwO3',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5eac64ea17eba50009ce7074',
'preprint_id': 'n7epf',
'provider_id': 'osf',
'sloan_coi': True,
'sloan_data': True,
'sloan_id': '5fe519fe-9b0b-451c-880d-4dd48946eb6d',
'timestamp': '2020-05-01T19:57:57.518604+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'},
{'_id': 'nVR37nEBlKKdsXcikNVN',
'_index': 'osf_preprintview_2020',
'_score': 3.1993313,
'_source': {'count': 1,
'path': '/5eac664817eba50009ce707e',
'preprint_id': 'vjukp',
'provider_id': 'engrxiv',
'sloan_coi': True,
'sloan_data': True,
'sloan_id': '6e39d570-4d18-47e9-90ad-8870f1246d3d',
'timestamp': '2020-05-07T09:29:05.353020+00:00',
'user_id': 'hxaqv',
'version': '1'},
'_type': 'doc'}],
'max_score': 3.1993313,
'total': 15},
'timed_out': False,
'took': 11}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment