Which query builder is used to update the multiple documents in elastic search

In java which query builder used to update multiple documents in elastic search RestHighLevelClient 7.3.0.Thanks in advance.

You are probably looking for https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-update-by-query.html

1 Like

I have go through this document.But i need to update specific document but not all document using condition

You can use https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-index.html or https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-update.html (but I prefer the former)

1 Like

Thankyou so much.With your help i found this solution

And now tell me,In java how to establish a elastic search autocomplete in asynchronously..

Open a new question. That's not related. Thanks.

1 Like

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