Skip to content

Add support for all elasticsearch actions while bulk indexing#27

Open
ladislavmacoun wants to merge 3 commits into
seznam:rapidjson-parserfrom
ladislavmacoun:add-support-for-more-actions
Open

Add support for all elasticsearch actions while bulk indexing#27
ladislavmacoun wants to merge 3 commits into
seznam:rapidjson-parserfrom
ladislavmacoun:add-support-for-more-actions

Conversation

@ladislavmacoun

@ladislavmacoun ladislavmacoun commented Oct 26, 2021

Copy link
Copy Markdown
Contributor

Add support for all elasticsearch actions while bulk indexing
Currently, if the response body of the bulk indexing action contains
anything else than index action, the response is taken as invalid, even
though the request was successful.

This patch adds support for all the other remaining actions specified in
the elasticsearch documentation1.

Signed-off-by: Ladislav Macoun ladislavmacoun@gmail.com

Add status code and response text explaining why request failed.

Signed-off-by: Ladislav Macoun <ladislavmacoun@gmail.com>
@ladislavmacoun ladislavmacoun force-pushed the add-support-for-more-actions branch from 2b09df1 to 3552ca2 Compare October 26, 2021 11:14
Signed-off-by: Ladislav Macoun <ladislavmacoun@gmail.com>
Currently, if the response body of the bulk indexing action contains
anything else than index action, the response is taken as invalid, even
though the request was successful.

This patch adds support for all the other remaining actions specified in
the elasticsearch documentation[1].

[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-api-response-body

Signed-off-by: Ladislav Macoun <ladislavmacoun@gmail.com>
@ladislavmacoun ladislavmacoun force-pushed the add-support-for-more-actions branch from 3552ca2 to edfbdf5 Compare October 26, 2021 11:26
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.

1 participant