correct field name for routing (#758)
`_routing` is correct field name for `routing` in every bulk item action
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ in several formats. The most common one is the same as returned by
|
|||||||
'_index': 'index-name',
|
'_index': 'index-name',
|
||||||
'_type': 'document',
|
'_type': 'document',
|
||||||
'_id': 42,
|
'_id': 42,
|
||||||
'routing': 5,
|
'_routing': 5,
|
||||||
'pipeline': 'my-ingest-pipeline',
|
'pipeline': 'my-ingest-pipeline',
|
||||||
'_source': {
|
'_source': {
|
||||||
"title": "Hello World!",
|
"title": "Hello World!",
|
||||||
@@ -43,7 +43,7 @@ from the doc and use the rest as the document data:
|
|||||||
|
|
||||||
{
|
{
|
||||||
"_id": 42,
|
"_id": 42,
|
||||||
"routing": 5,
|
"_routing": 5,
|
||||||
"title": "Hello World!",
|
"title": "Hello World!",
|
||||||
"body": "..."
|
"body": "..."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user