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
As defined in the indexes, there's a unique restriction on the combination of (group_id, item). My use case involves adding a large number of documents. Some documents are new (ie novel (group_id, item) pair) - I want to simply insert these. Some are existing documents (defined by the (group_id, item) pair) that I want to update with a new value.
What is the most efficient way to perform this? Is there a way to use BulkWriter?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following document
As defined in the indexes, there's a unique restriction on the combination of
(group_id, item)
. My use case involves adding a large number of documents. Some documents are new (ie novel(group_id, item)
pair) - I want to simply insert these. Some are existing documents (defined by the(group_id, item)
pair) that I want to update with a newvalue
.What is the most efficient way to perform this? Is there a way to use
BulkWriter
?Thanks
Beta Was this translation helpful? Give feedback.
All reactions