Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IndexDocumentsClient interface
- Package:
- @azure/search-documents
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
Promise<IndexDocumentsResult>
