/** The routing values to control the shards that the search will be executed on. */ public CountRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
@Override protected HttpRequest toRequest(IndicesExistsRequest request) { HttpRequest httpRequest = new HttpRequest(HEAD, null).index(Strings.arrayToCommaDelimitedString(request.indices())); return httpRequest; }
/** The routing values to control the shards that the search will be executed on. */ public DeleteByQueryRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }