From 06ff4943d11c9747ac647271a173b556b0f9d893 Mon Sep 17 00:00:00 2001 From: "C.J. Jameson" Date: Mon, 23 Mar 2020 08:55:31 -0700 Subject: [PATCH] Clarify docs: how to add Routing enforcement In 6.8, the `_doc` made sense: https://www.elastic.co/guide/en/elasticsearch/reference/6.8/mapping-routing-field.html but now it doesn't, and is confusing. I assume it applies to all documents(??) --- docs/reference/mapping/fields/routing-field.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/mapping/fields/routing-field.asciidoc b/docs/reference/mapping/fields/routing-field.asciidoc index 25c3571f08e8d..46a204ccddfde 100644 --- a/docs/reference/mapping/fields/routing-field.asciidoc +++ b/docs/reference/mapping/fields/routing-field.asciidoc @@ -92,7 +92,7 @@ PUT my_index2/_doc/1 <2> ------------------------------ // TEST[catch:bad_request] -<1> Routing is required for `_doc` documents. +<1> Routing is required for all documents. <2> This index request throws a `routing_missing_exception`. ==== Unique IDs with custom routing @@ -128,4 +128,4 @@ less than `index.number_of_shards`. Once enabled, the partitioned index will have the following limitations: * Mappings with <> relationships cannot be created within it. -* All mappings within the index must have the `_routing` field marked as required. \ No newline at end of file +* All mappings within the index must have the `_routing` field marked as required.