meilisearch / meilisearch-go

Golang wrapper for the Meilisearch API
https://www.meilisearch.com
MIT License
481 stars 81 forks source link

UpdateDocumentsInBatches is actually invoking saveDocumentsInBatches #509

Open yanyandenuonuo opened 5 months ago

yanyandenuonuo commented 5 months ago

Description When i want to update documents in batch, i used the method UpdateDocumentsInBatches, but there were a lot of tasks failed, then i found the method invoked saveDocumentsInBatches, just same as AddDocumentsInBatches.

Expected behavior Implement real UpdateDocumentsInBatches or delete the method.

Current behavior Execute as Add not Update

Environment (please complete the following information):

curquiza commented 5 months ago

Thank you for the report @yanyandenuonuo

Any contribution are welcome 😊