elasticsearch does not allow to split shards at the moment. Maybe however
aliases and overallocation can help you to work around. Instead of waiting
until a shard grows beyond a manageable size for one node (which is the
reason you want to split it) you should define more shards than expected
for your index (this is one of the reasons there are 5 shards by default
per index). In addition if your index grows beyond that maximum shard size,
you can create another index and use an alias to group them together. Why
is this similar? Because it is the same if you query 10 indices with one
shard each or or two indices with 5 five shards.
Thanks your reply. It may be a good way for that.
在 2013年7月4日星期四UTC+8下午3时15分35秒,Alexander Reelsen写道:
Hey,
elasticsearch does not allow to split shards at the moment. Maybe however
aliases and overallocation can help you to work around. Instead of waiting
until a shard grows beyond a manageable size for one node (which is the
reason you want to split it) you should define more shards than expected
for your index (this is one of the reasons there are 5 shards by default
per index). In addition if your index grows beyond that maximum shard size,
you can create another index and use an alias to group them together. Why
is this similar? Because it is the same if you query 10 indices with one
shard each or or two indices with 5 five shards.
Hope this helps.
--Alex
On Thu, Jul 4, 2013 at 8:59 AM, dancer <chuanh...@gmail.com <javascript:>>wrote:
--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
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.