Package version:

Type Alias IndexDocumentsAction<TModel>

IndexDocumentsAction<TModel>: {
    __actionType: IndexActionType;
} & Partial<TModel>

Represents an index action that operates on a document.

Type Parameters

  • TModel

Type declaration

  • __actionType: IndexActionType

    The operation to perform on a document in an indexing batch. Possible values include: 'upload', 'merge', 'mergeOrUpload', 'delete'