From 52c387abf7bbef17de2e03e12e85a8d3ad70e63d Mon Sep 17 00:00:00 2001 From: Sumit Kumar Date: Sat, 31 Mar 2018 01:11:53 +0530 Subject: [PATCH] correct field name for routing (#758) `_routing` is correct field name for `routing` in every bulk item action --- docs/helpers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/helpers.rst b/docs/helpers.rst index e4973c36..57c96d81 100644 --- a/docs/helpers.rst +++ b/docs/helpers.rst @@ -28,7 +28,7 @@ in several formats. The most common one is the same as returned by '_index': 'index-name', '_type': 'document', '_id': 42, - 'routing': 5, + '_routing': 5, 'pipeline': 'my-ingest-pipeline', '_source': { "title": "Hello World!", @@ -43,7 +43,7 @@ from the doc and use the rest as the document data: { "_id": 42, - "routing": 5, + "_routing": 5, "title": "Hello World!", "body": "..." }