Add tests for all the attributes validated by the Elasticsearch schema validator

Description

Follows up on HSEARCH-3052.

I suspect some assumptions we made on Elasticsearch 2 are no longer valid, like the fact that the default for "indexed" is "false" for some types.

Let's double check the default value of each mapping attribute, and add two tests for each validated attribute: one with an explicit invalid value in the existing schema, and one with an implicit invalid value (default value) in the existing schema.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major