Skip to content

Routing: Allow to specify on the _routing mapping that its required, and fail index operations that do not provide one #520

Closed
@kimchy

Description

@kimchy

In the mapping definition, allow to define on the _routing element that it is required (by settings "requried" : true. This will hint difference APIs to take it into account. Start with the index api and fail the index operation if routing is not provided (also when provided within the bulk API).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions