/** * * @param local A boolean value whether to read the cluster state locally in order to determine * where shards are allocated instead of using the Master node’s cluster state. */ public Builder local(Boolean local) { setParameter("local", local); return this; }
/** * * @param routing A comma-separated list of routing values to take into account when * determining which shards a request would be executed against. */ public Builder routing(String routing) { setParameter("routing", routing); return this; }
/** * * @param local A boolean value whether to read the cluster state locally in order to determine * where shards are allocated instead of using the Master node’s cluster state. */ public Builder local(Boolean local) { setParameter("local", local); return this; }
/** * * @param preference Controls a preference of which shard replicas to execute the search request on. * By default, the operation is randomized between the shard replicas. See the * <a href="http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-preference.html">preference documentation</a> * for a list of all acceptable values. */ public Builder preference(String preference) { setParameter("preference", preference); return this; }
/** * * @param preference Controls a preference of which shard replicas to execute the search request on. * By default, the operation is randomized between the shard replicas. See the * <a href="http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-preference.html">preference documentation</a> * for a list of all acceptable values. */ public Builder preference(String preference) { setParameter("preference", preference); return this; }
/** * * @param routing A comma-separated list of routing values to take into account when * determining which shards a request would be executed against. */ public Builder routing(String routing) { setParameter("routing", routing); return this; }
/** * * @param local A boolean value whether to read the cluster state locally in order to determine * where shards are allocated instead of using the Master node’s cluster state. */ public Builder local(Boolean local) { setParameter("local", local); return this; }
/** * * @param routing A comma-separated list of routing values to take into account when * determining which shards a request would be executed against. */ public Builder routing(String routing) { setParameter("routing", routing); return this; }
/** * * @param preference Controls a preference of which shard replicas to execute the search request on. * By default, the operation is randomized between the shard replicas. See the * <a href="http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-preference.html">preference documentation</a> * for a list of all acceptable values. */ public Builder preference(String preference) { setParameter("preference", preference); return this; }