Separate configuration per index

In the online manual, it only shows using curl to make an index have
separate settings from other indexes. Is it possible using java?

re http://www.elasticsearch.org/guide/reference/setup/configuration.html

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey

works like this

ImmutableSettings.Builder settingsBuilder =
ImmutableSettings.settingsBuilder();
settingsBuilder.put("index.number_of_shards", 5);
settingsBuilder.put("index.number_of_replicas", 0);
client.admin().indices().prepareCreate("myIndex").setSettings(settingsBuilder.build()).execute():

On Wed, Mar 20, 2013 at 3:54 AM, Dennis gearond@gmail.com wrote:

In the online manual, it only shows using curl to make an index have
separate settings from other indexes. Is it possible using java?

re Elasticsearch Platform — Find real-time answers at scale | Elastic

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.