You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get up and running with @orama/orama with an extremely basic use case.
I need to persist and hydrate values, so I am interested in using insertMultiple. When I use an insert loop, it works fine, but I get the warning:
Orama's insert operation is synchronous. Please avoid inserting a large number of document in a single operation in order not to block the main thread or, in alternative, please use insertMultiple.
When I then try to use insertMultiple, I get an actual error:
ReferenceError: SharedArrayBuffer is not defined
I see no mention of anything related to this in any issues or documentation.
To Reproduce
insertMultiple([])
Expected behavior
As insert works out of the box, I would also expect insertMultiple to work.
Environment Info
Node v20.10.0
@orama/orama v3.0.3
Vite
Affected areas
Data Insertion
Additional context
Chrome Version 131.0.6778.109 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to get up and running with
@orama/orama
with an extremely basic use case.I need to persist and hydrate values, so I am interested in using
insertMultiple
. When I use aninsert
loop, it works fine, but I get the warning:When I then try to use
insertMultiple
, I get an actual error:I see no mention of anything related to this in any issues or documentation.
To Reproduce
insertMultiple([])
Expected behavior
As
insert
works out of the box, I would also expectinsertMultiple
to work.Environment Info
Affected areas
Data Insertion
Additional context
Chrome Version 131.0.6778.109 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered: