| 12345678910111213141516171819202122 | [[mapping-routing-field]]=== `_routing`The routing field allows to control the `_routing` aspect when indexingdata and explicit routing control is required. It is stored and indexed.[float]==== requiredAnother aspect of the `_routing` mapping is the ability to define it asrequired by setting `required` to `true`. This is very important to setwhen using routing features, as it allows different APIs to make use ofit. For example, an index operation will be rejected if no routing valuehas been provided.[float]==== id uniquenessWhen indexing documents specifying a custom `_routing`, the uniquenessof the `_id` is not guaranteed throughout all the shards that the indexis composed of. In fact, documents with the same `_id` might end up indifferent shards if indexed with different `_routing` values.
 |