IndexDocumentsClient interface
索引文档客户端
方法
index |
为给定的文档集执行一组索引修改(上传、合并、mergeOrUpload、delete)。 |
方法详细信息
indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)
为给定的文档集执行一组索引修改(上传、合并、mergeOrUpload、delete)。
function indexDocuments(batch: IndexDocumentsBatch<TModel>, options: IndexDocumentsOptions): Promise<IndexDocumentsResult>
参数
- batch
-
IndexDocumentsBatch<TModel>
要对索引执行的作数组。
- options
- IndexDocumentsOptions
其他选项。
返回
Promise<IndexDocumentsResult>