stored_fields=_parent no longer needed with 5.0
This commit is contained in:
@@ -347,7 +347,6 @@ def reindex(client, source_index, target_index, query=None, target_client=None,
|
|||||||
query=query,
|
query=query,
|
||||||
index=source_index,
|
index=source_index,
|
||||||
scroll=scroll,
|
scroll=scroll,
|
||||||
stored_fields=('_source', '_parent', '_routing', '_timestamp'),
|
|
||||||
**scan_kwargs
|
**scan_kwargs
|
||||||
)
|
)
|
||||||
def _change_doc_index(hits, index):
|
def _change_doc_index(hits, index):
|
||||||
|
|||||||
Reference in New Issue
Block a user