Skip to content

Commit 52c387a

Browse files
sumit0kfxdgear
authored andcommitted
correct field name for routing (elastic#758)
`_routing` is correct field name for `routing` in every bulk item action
1 parent a9232fc commit 52c387a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/helpers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ in several formats. The most common one is the same as returned by
2828
'_index': 'index-name',
2929
'_type': 'document',
3030
'_id': 42,
31-
'routing': 5,
31+
'_routing': 5,
3232
'pipeline': 'my-ingest-pipeline',
3333
'_source': {
3434
"title": "Hello World!",
@@ -43,7 +43,7 @@ from the doc and use the rest as the document data:
4343
4444
{
4545
"_id": 42,
46-
"routing": 5,
46+
"_routing": 5,
4747
"title": "Hello World!",
4848
"body": "..."
4949
}

0 commit comments

Comments
 (0)