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

uncommented version in _params on updateDocument() to support Elatica… #1796

Closed
wants to merge 1 commit into from

Conversation

consolari
Copy link

… 7.9.1

The version parameter is removed from elasticsearch, tested on Elasticsearch 7.9.1

@deluxetom
Copy link
Contributor

running into issues upgrading to 7.0 because of this

@deguif
Copy link
Collaborator

deguif commented Sep 18, 2020

That was deprecated in https://www.elastic.co/guide/en/elasticsearch/reference/6.8/docs-update.html in 6.7.0 as stated by the documentation.
if_seq_no and if_primary_term replaced it.

@ruflin
Copy link
Owner

ruflin commented Sep 21, 2020

Linking #1797 for reference.

@ruflin
Copy link
Owner

ruflin commented Sep 21, 2020

@consolari Thanks for the change. Even though for some 7.x users this might be a breaking change, we should move forward with it as it was removed already in 6.x. Could you add a changelog entry and also reference the page @deguif linked there with some details.

@deguif I wonder if we should directly add the two params you mentioned.

@deluxetom
Copy link
Contributor

@ruflin @deguif since we didnt have any updates, I created a new PR #1803

@deguif
Copy link
Collaborator

deguif commented Oct 7, 2020

Nice @thomaspicquet

@ruflin: I wonder if we should directly add the two params you mentioned.

Do you mean adding specific setters as it was done for version and version_type?

By the way version_type should probably be removed too?

@deluxetom
Copy link
Contributor

Nice @thomaspicquet

@ruflin: I wonder if we should directly add the two params you mentioned.

Do you mean adding specific setters as it was done for version and version_type?

By the way version_type should probably be removed too?

I removed version_type and added the setters/getters for the 2 new params #1803

@ruflin
Copy link
Owner

ruflin commented Oct 14, 2020

@thomaspicquet I guess we can close this PR as yours will solve this one?

@deluxetom
Copy link
Contributor

@thomaspicquet I guess we can close this PR as yours will solve this one?

we can, my PR does fix this issue

@ruflin
Copy link
Owner

ruflin commented Oct 15, 2020

Closing in favor of #1803

@ruflin ruflin closed this Oct 15, 2020
ruflin pushed a commit that referenced this pull request Oct 15, 2020
As stated in #1796

* removed `version` and `version_type`
* added replacements `if_seq_no` and `if_primary_term`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants