Dela via


IndexDocumentsClient interface

Indexdokumentklient

Metoder

indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)

Utför en uppsättning indexändringar (ladda upp, sammanfoga, mergeOrUpload, ta bort) för den angivna uppsättningen dokument.

Metodinformation

indexDocuments(IndexDocumentsBatch<TModel>, IndexDocumentsOptions)

Utför en uppsättning indexändringar (ladda upp, sammanfoga, mergeOrUpload, ta bort) för den angivna uppsättningen dokument.

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

Parametrar

batch

IndexDocumentsBatch<TModel>

En matris med åtgärder som ska utföras på indexet.

options
IndexDocumentsOptions

Ytterligare alternativ.

Returer