Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Remove the ignore_conflicts option from the put mappings API #53

Merged
merged 2 commits into from
Nov 1, 2017

Conversation

SanCoder-Q
Copy link
Contributor

@SanCoder-Q SanCoder-Q commented May 10, 2017

Since ES 2.4, the ignore_conflicts option of the put mappings API is
no longer supported according to
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/breaking_20_mapping_changes.html
It will cause an illegal_argument_exception error with 400 HTTP code
if the client is used on the ES with the later version.

This PR is to remove the ignore_conflicts option.

Related to the issue #51

PS. Fix the build.

@SanCoder-Q SanCoder-Q force-pushed the remove-ic branch 3 times, most recently from 13e1b30 to 46a34c3 Compare May 11, 2017 00:15
@gphat gphat merged commit 115232a into gphat:master Nov 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants