Skip to content

Commit 4e95fe3

Browse files
bungoumefxdgear
authored andcommitted
Support renamed routing bulk parameter (#735)
1 parent 058d38f commit 4e95fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/helpers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def expand_action(data):
3636
data = data.copy()
3737
op_type = data.pop('_op_type', 'index')
3838
action = {op_type: {}}
39-
for key in ('_index', '_parent', '_percolate', '_routing', '_timestamp',
39+
for key in ('_index', '_parent', '_percolate', '_routing', '_timestamp', 'routing',
4040
'_type', '_version', '_version_type', '_id',
4141
'retry_on_conflict', 'pipeline'):
4242
if key in data:

0 commit comments

Comments
 (0)