Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw IllegalStateException if you try to .addMapping for same type more than once #7243

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
3 participants
@mikemccand
Copy link
Contributor

mikemccand commented Aug 12, 2014

Closes #7231

@jpountz

This comment has been minimized.

Copy link
Contributor

jpountz commented Aug 12, 2014

LGTM

mikemccand added a commit that referenced this pull request Aug 12, 2014

Java client API: CreateIndexRequestBuilder.addMapping throws IllegalS…
…tateException if you add same type more than once

Previously, it would silently overwrite the previous mapping, which was trappy.

Closes #7231

Closes #7243

mikemccand added a commit that referenced this pull request Sep 8, 2014

Java client API: CreateIndexRequestBuilder.addMapping throws IllegalS…
…tateException if you add same type more than once

Previously, it would silently overwrite the previous mapping, which was trappy.

Closes #7231

Closes #7243

@clintongormley clintongormley changed the title Throw IllegalStateException if you try to .addMapping for same type more than once Java API: Throw IllegalStateException if you try to .addMapping for same type more than once Sep 10, 2014

@clintongormley clintongormley changed the title Java API: Throw IllegalStateException if you try to .addMapping for same type more than once Throw IllegalStateException if you try to .addMapping for same type more than once Jun 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.