Fixing bug from ES 6 upgrade
This commit is contained in:
parent
c3c3d83227
commit
3298f5c932
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue