Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.1.0
-
None
Description
At the moment is not possible to configure the number of shards if an index does not already exists on the Elasticsearch cluster. It could be a great improvement to handle the index.number_of_shards (passed in the configuration object). E.g.:
Map<String, String> config = Maps.newHashMap(); config.put("bulk.flush.max.actions", "1"); config.put("cluster.name", "my-cluster-name"); config.put("index.number_of_shards", "1");
Attachments
Issue Links
- links to