_reindex and _update_by_query equivalent apis in java transport client?

Hi,

reindex and update_by_query are implemented inside reindex module (aka built-in plugin). In order to use their Java API, you need to:

  1. Add org.elasticsearch.module:reindex to the dependency.
  2. Add ReindexPlugin when you init Transport Client.

The discussions at Reindex Java API might be helpful.

Regards,

Trango

1 Like