Homec4science
Diffusion YCSB 0eb22d138e78

Elasticsearch 5: Fix unreleased bugs in client

Authored by Jason Tedor <jason@tedor.me> on Aug 8 2017, 11:42.

Description

Elasticsearch 5: Fix unreleased bugs in client

This commit fixes a bug in the Elasticsearch 5 transport client
binding. Namely, the update method was not indexing using the ID of the
read document, but instead the provided key. As auto-generated IDs are
used, this is a mistake as this is not the ID of the document. This
commit fixes this issue.

Additionally, the type is passed to the search method and used in
searches. While this is not a correctness issue per se, we fix it for
clarity.

Details

Committed
Jason Tedor <jason@tedor.me>Aug 8 2017, 11:42
Pushed
iorgulescuOct 2 2018, 18:02
Parents
R7507:db8674a37252: Elasticsearch 5: Remove path.home setting
Branches
Unknown
Tags
Unknown

Event Timeline

Jason Tedor <jason@tedor.me> committed R7507:0eb22d138e78: Elasticsearch 5: Fix unreleased bugs in client (authored by Jason Tedor <jason@tedor.me>).Aug 8 2017, 11:42