_reindex and _update_by_query equivalent apis in java transport client?

Hi,
I am using ES 2.3 version and using _reindex api; however, I could not find corresponding api in java transport client. Also, I could not find any documentation regarding it. For time being, to use the api I am using rest api.
Can some one please point out the java transport client api for these two new features - _reindex and _update_by_query?

Regards,
Nikhil

1 Like

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

Great. I was looking for the same.