Skip to content

Commit 1a34cfb

Browse files
committed
Updated readme
1 parent bb4bf42 commit 1a34cfb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,14 @@ Or using the index object:
398398

399399
`index.addDocuments(documents: Document<T>[]): Promise<EnqueuedUpdate>`
400400

401+
`index.addDocumentsInBatch(documents: Document<T>[], batchSize = 1000): Promise<EnqueuedUpdate[]>`
402+
401403
- Add or update multiple documents:
402404

403405
`index.updateDocuments(documents: Document<T>[]): Promise<EnqueuedUpdate>`
404406

407+
`index.updateDocumentsInBatch(documents: Document<T>[], batchSize = 1000): Promise<EnqueuedUpdate[]>`
408+
405409
- Get Documents:
406410

407411
`index.getDocuments(params: getDocumentsParams): Promise<Document<T>[]>`

0 commit comments

Comments
 (0)