/** * The routing values to control the shards that the search will be executed on. */ public ClusterSearchShardsRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SearchRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
@Override public String toString() { StringBuilder b = new StringBuilder().append(action.name()).append(" is handled by ").append(transportAction.getName()); if (supportTransportActions.length > 0) { b.append('[').append(Strings.arrayToCommaDelimitedString(supportTransportActions)).append(']'); } return b.toString(); }
Strings.arrayToCommaDelimitedString(nodesToAllocateOn.toArray()))
/** * A comma separated list of routing values to control the shards the count will be executed on. */ public CountRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the request will be executed on. */ public TermsByQueryRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public ClusterSearchShardsRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SearchRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public ClusterSearchShardsRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public ExportRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SearchRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public ClusterSearchShardsRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be * executed on. */ public SearchIntoRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SuggestRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SearchRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
/** * The routing values to control the shards that the search will be executed on. */ public SearchRequest routing(String... routings) { this.routing = Strings.arrayToCommaDelimitedString(routings); return this; }
@Override public String toString() { StringBuilder b = new StringBuilder().append(action.name()).append(" is handled by ").append(transportAction.getName()); if (supportTransportActions.length > 0) { b.append('[').append(Strings.arrayToCommaDelimitedString(supportTransportActions)).append(']'); } return b.toString(); }
@Override public String toString() { StringBuilder b = new StringBuilder().append(action.name()).append(" is handled by ").append(transportAction.getName()); if (supportTransportActions.length > 0) { b.append('[').append(Strings.arrayToCommaDelimitedString(supportTransportActions)).append(']'); } return b.toString(); }
private static void addIndexesOrTypes(StringBuilder path, String name, String[] indicesOrTypes) { if (indicesOrTypes == null || indicesOrTypes.length == 0) { return; } for (String indexOrType : indicesOrTypes) { checkIndexOrType(name, indexOrType); } path.append(Strings.arrayToCommaDelimitedString(indicesOrTypes)).append('/'); }
public void nodeMappingRefresh(final ClusterState state, final NodeMappingRefreshRequest request) { final DiscoveryNodes nodes = state.nodes(); if (nodes.masterNode() == null) { logger.warn("can't send mapping refresh for [{}][{}], no master known.", request.index(), Strings.arrayToCommaDelimitedString(request.types())); return; } transportService.sendRequest(nodes.masterNode(), ACTION_NAME, request, EmptyTransportResponseHandler.INSTANCE_SAME); }