There was an error while loading. Please reload this page.
1 parent 058d38f commit 4e95fe3Copy full SHA for 4e95fe3
elasticsearch/helpers/__init__.py
@@ -36,7 +36,7 @@ def expand_action(data):
36
data = data.copy()
37
op_type = data.pop('_op_type', 'index')
38
action = {op_type: {}}
39
- for key in ('_index', '_parent', '_percolate', '_routing', '_timestamp',
+ for key in ('_index', '_parent', '_percolate', '_routing', '_timestamp', 'routing',
40
'_type', '_version', '_version_type', '_id',
41
'retry_on_conflict', 'pipeline'):
42
if key in data:
0 commit comments