Update multiple documents by java client

In my project I want to update multiple documents that match a filter. I look up "Update" in the official references and found:

"Note that as of this writing, updates can only be performed on a single document at a time. In the future, Elasticsearch might provide the ability to update multiple documents given a query condition (like an SQL UPDATE-WHERE statement)."

I feel that this use case is pretty common. What is the best way to handle it by using java client?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.