Skip to content

Remove BulkIndexByScrollResponseContentListener #17548

@Mpdreamz

Description

@Mpdreamz

Its causes the reindex and update_by_query to be the only API that returns a body on errors thats not a structured error.

It also tries to do the right thing by setting the status code to the highest statuscode of all the individual failures which I don't think is terribly useful to consumers either.

It be nicer if these API's behaved like the _bulk and return a 200 if the request was received properly and each response has to handle individual failures (whether conflicts=proceed or not) with an errors boolean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementdiscuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions