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

Fix type of Result field for UpdateResponse. Issue #599 #600

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

claudiuolteanu
Copy link
Contributor

According to Elasticsearch source code [1], the Result field should
be represented as a string and its possible values are represented
in Result enum [2].

[1] - https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/action/update/UpdateResponse.java
[2] - https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/action/DocWriteResponse.java#L66

According to Elasticsearch source code [1], the Result field should
be represented as a string and its possible values are represented
in Result enum [2].

[1] - https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/action/update/UpdateResponse.java
[2] - https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/action/DocWriteResponse.java#L66

Signed-off-by: Claudiu Olteanu <claudiu.olteanu@ymail.com>
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.

None yet

2 participants