IndexDocumentsClient interface

Index Documents Client

Methods

indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)

Perform a set of index modifications (upload, merge, mergeOrUpload, delete) for the given set of documents.

Method Details

indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)

Perform a set of index modifications (upload, merge, mergeOrUpload, delete) for the given set of documents.

function indexDocuments(batch: IndexDocumentsBatch<TModel>, options: IndexDocumentsOptions): Promise<IndexDocumentsResult>

Parameters

batch

IndexDocumentsBatch<TModel>

An array of actions to perform on the index.

options
IndexDocumentsOptions

Additional options.

Returns