Fixing bug from ES 6 upgrade

This commit is contained in:
Alex Hunt 2018-11-25 17:28:30 -08:00
parent c3c3d83227
commit 3298f5c932
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ def es_document_list(index):
def es_get_document(index, id):
res = es.get(
index=index,
doc_type='doc',
id=id
)
data = merge_id_and_source(res['_id'], res['_source'])