Add tests for all the attributes validated by the Elasticsearch schema validator
Description
Activity
Show:
Fixed
Details
Assignee
Fabio Massimo ErcoliFabio Massimo ErcoliReporter
Yoann RodièreYoann RodièreComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee

Reporter

Components
Sprint
None
Fix versions
Priority
Created January 18, 2019 at 3:40 PM
Updated April 30, 2019 at 7:42 AM
Resolved April 26, 2019 at 11:10 AM
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.