IndexDocumentsClient interface
索引文件用戶端
方法
| index |
針對指定的檔集執行一組索引修改(upload、merge、mergeOrUpload、delete)。 |
方法詳細資料
indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)
針對指定的檔集執行一組索引修改(upload、merge、mergeOrUpload、delete)。
function indexDocuments(batch: IndexDocumentsBatch<TModel>, options: IndexDocumentsOptions): Promise<IndexDocumentsResult>
參數
- batch
-
IndexDocumentsBatch<TModel>
要對索引執行的動作陣列。
- options
- IndexDocumentsOptions
其他選項。
傳回
Promise<IndexDocumentsResult>