You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's trappy today, that .addMapping makes it seem like you can merge in mappings for different fields in the same type, whereas what it actually does is silently overwrite any previous .addMapping for that type.
The text was updated successfully, but these errors were encountered:
…tateException if you add same type more than once
Previously, it would silently overwrite the previous mapping, which was trappy.
Closes#7231Closes#7243
…tateException if you add same type more than once
Previously, it would silently overwrite the previous mapping, which was trappy.
Closes#7231Closes#7243
clintongormley
changed the title
Java client api: CreateIndexRequestBuilder.addMapping should throw exc if that type already has a mapping
Java API: CreateIndexRequestBuilder.addMapping should throw exc if that type already has a mapping
Sep 10, 2014
I think it's trappy today, that .addMapping makes it seem like you can merge in mappings for different fields in the same type, whereas what it actually does is silently overwrite any previous .addMapping for that type.
The text was updated successfully, but these errors were encountered: