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

Add support for all elasticsearch actions while bulk indexing #27

Open
wants to merge 3 commits into
base: rapidjson-parser
Choose a base branch
from

Commits on Oct 26, 2021

  1. Add more info to exception when request fails

    Add status code and response text explaining why request failed.
    
    Signed-off-by: Ladislav Macoun <[email protected]>
    ladislavmacoun committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    1488ab7 View commit details
    Browse the repository at this point in the history
  2. Add more logging for response error handling

    Signed-off-by: Ladislav Macoun <[email protected]>
    ladislavmacoun committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    d0d63a2 View commit details
    Browse the repository at this point in the history
  3. 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 documentation[1].
    
    [1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-api-response-body
    
    Signed-off-by: Ladislav Macoun <[email protected]>
    ladislavmacoun committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    edfbdf5 View commit details
    Browse the repository at this point in the history