The updateByQuery API of elasticsearch has the possibility to get a task response if the parameter wait_for_completion
is set to false
(https://www.elastic.co/guide/en/elasticsearch/reference/7.8/docs-update-by-query.html#docs-update-by-query-task-api).
But the Java RestHighLevelClient doesn't seem to support this feature. I search for something like described here for reindex
but for updateByQuery
(https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.8/java-rest-high-document-reindex.html#java-rest-high-document-reindex-task-submission).
- Is there any reason why this is not supported?
- What are my possibilities for workarounds? (LowLevelClient?)