OpenSearch/plugins/mapper-murmur3/src
Adrien Grand 50eeafa75c Make mappings immutable.
Today mappings are mutable because of two APIs:
 - Mapper.merge, which expects changes to be performed in-place
 - IncludeInAll, which allows to change whether values should be put in the
   `_all` field in place.

This commit changes both APIs to return a modified copy instead of modifying in
place so that mappings can be immutable. For now, only the type-level object is
immutable, but in the future we can imagine making them immutable at the
index-level so that mapping updates could be completely atomic at the index
level.

Close #9365
2015-12-15 10:20:28 +01:00
..
main/java/org/elasticsearch Make mappings immutable. 2015-12-15 10:20:28 +01:00
test [TEST] Fix MapperUpgrade tests to use a dedicated master to ensure dangeling index import works predictably 2015-11-27 10:32:21 +01:00