DeleteByQueryRequestBuilder no longer allows setting routing?

I'm (finally) updating from ES 2.old to 6.2.4. However, it seems like the ability to set routing on a delete-by-query request via the DeleteByQueryRequestBuilder has gone missing?

In the REST docs, it shows that routing is supported for delete by queries, however, I am either missing where this is now configured, or it's missing when using the java API (the new high level rest client doesn't support deletebyquery at all yet, so I'm stuck with legacy client).

Any help would be appreciated, thanks!

bump, could really use some help with this.
Thanks!

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