Skip to content

Documentation on upsertMultiple/removeMultiple? #978

@isaachinman

Description

@isaachinman

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions