Skip to content

bulk helper add onSuccess callback #2090

Closed

Description

🚀 Feature Proposal

The bulk helper API gives onDrop callback that is called when the document can’t be indexed.

Is it possible to add an onSuccess callback or onIndex callback that will be called when the document is indexed successfully?

Motivation

When uploading from other source a lot of documents using a stream or generator I want to mark the documents that where actually indexed so if the program crashes it can be resumed from the point of failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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