Hi @micheleriva, thanks so much for shipping upsertMultiple and removeMultiple 🙏
I am having trouble finding docs on the actual benefits of these funcs, except a mention here:
https://docs.askorama.ai/docs/orama-js/usage/remove#batch-removal
I do see the in types that batch size is an arg for upsertMultiple too.
What's happening under the hood? Does upsertMultiple end up just calling upsert in a batch loop, or are there actual/genuine optimisations?
My main concern is RAM, as we're running into issues with an extremely data-heavy application.
Thanks!
Hi @micheleriva, thanks so much for shipping
upsertMultipleandremoveMultiple🙏I am having trouble finding docs on the actual benefits of these funcs, except a mention here:
https://docs.askorama.ai/docs/orama-js/usage/remove#batch-removal
I do see the in types that batch size is an arg for
upsertMultipletoo.What's happening under the hood? Does
upsertMultipleend up just callingupsertin a batch loop, or are there actual/genuine optimisations?My main concern is RAM, as we're running into issues with an extremely data-heavy application.
Thanks!