OpenSearch/plugins/mapper-attachments/src
Adrien Grand 35709f62b6 Be stricter about parsing boolean values in mappings.
Parsing is currently very lenient, which has the bad side-effect that if you
have a typo and pass eg. `store: fasle` this will actually be interpreted as
`store: true`. Since mappings can't be changed after the fact, it is quite bad
if it happens on an index that already contains data.

Note that this does not cover all settings that accept a boolean, but since the
PR was quite hard to build and already covers some main settirgs like `store`
or `doc_values` this would already be a good incremental improvement.
2016-01-27 09:06:00 +01:00
..
main Merge pull request #16072 from nik9000/xlint_plugins 2016-01-19 10:54:15 -05:00
test Be stricter about parsing boolean values in mappings. 2016-01-27 09:06:00 +01:00