volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Update by query operation

Hi,

Is it possible to update several documents using query or filter?

I wrote question (http://goo.gl/eOhepL) regarding update operation but we need to update a lot of items from the index. It would be much better to update multiple documents at once rather than individually.

Best regards,

Pavel

#142319
Dec 09, 2015 6:30
Vote:

No, that is not possible using the Update command. For multiple items, the recommended approach is to reindex the items in batches using .Index(items).

#142385
Dec 10, 2015 10:51

Thanks

#142387
Dec 10, 2015 11:20
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.