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
Sort of -- there's the ::update_each method, which updates each document matching the scope it's called on in a concurrency-safe way. It still performs one write operation per document, since ElasticSearch doesn't have anything equivalent to an UPDATE...WHERE ? IN ? statement. Of course you can make that a bit more efficient by doing it in a bulk block.
E.g.:
Not clear how this should work with queries vs. filters etc...
The text was updated successfully, but these errors were encountered: