Skip to content

BulkAll Return Response with document _id's  #3487

@andystroz

Description

@andystroz

NEST/Elasticsearch.Net version: 6.3.1

Elasticsearch version: 6.3

Describe the feature:

I am using the BulkAll interface to index a group of documents. I would like Elastic to Create the _id field for these documents so I do not specify it in my request. I would like to know the _id of the documents indexed, like the response of the index API or the standard bulk API. Could the response from Elastic be included in the BulkAllResponse?

I am thinking that all that needs be done is modify that class to include a response. Then include the successful response from Elastic here. When onNext is called in the subscriber the response for items included in that bulk update will be shown.

I could be completely off base with a solution / should I just write my own version of BulkAll with the functionality that I desire?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions