Skip to content

Parse and validate mappings in index templates when they are put #2415

Closed
@synhershko

Description

@synhershko

Currently, putting a template will succeed if the JSON is valid even if the mapping couldn't be parsed. An error will be thrown when the index will be created and try to use the mapping, but that may be too late.

An example for such an error is described in #2414

The probable solution is to validate the mapping defined in the template when putting it.

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