I have some Java code that creates an index using CreateIndexRequest.
I would like to specify the number of shards and replicas per shard
when I create the index, however I cannot see any way to set these
properties on CreateIndexRequest.
I do see a generic "settings" property, but there is no documentation
in the Javadocs to tell me what the valid settings are, so I have no
way of knowing what to put here.
I have some Java code that creates an index using CreateIndexRequest.
I would like to specify the number of shards and replicas per shard
when I create the index, however I cannot see any way to set these
properties on CreateIndexRequest.
I do see a generic "settings" property, but there is no documentation
in the Javadocs to tell me what the valid settings are, so I have no
way of knowing what to put here.
On Tue, 2012-02-21 at 08:48 -0800, Frank LaRosa wrote:
Hi,
I have some Java code that creates an index using CreateIndexRequest.
I would like to specify the number of shards and replicas per shard
when I create the index, however I cannot see any way to set these
properties on CreateIndexRequest.
I do see a generic "settings" property, but there is no documentation
in the Javadocs to tell me what the valid settings are, so I have no
way of knowing what to put here.
I have some Java code that creates an index using CreateIndexRequest.
I would like to specify the number of shards and replicas per shard
when I create the index, however I cannot see any way to set these
properties on CreateIndexRequest.
I do see a generic "settings" property, but there is no documentation
in the Javadocs to tell me what the valid settings are, so I have no
way of knowing what to put here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.