I am planning to use single index for multiple users with routing
Based on the routing parameter, docs of a user will be stored in a shard.
What will happen, if that shard's size reaches the max value? What is the
solution?
You can create for example an index with alias on top of it.
When you hit the max value (for your use case), create a new index and use the same alias on top of it.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
I am planning to use single index for multiple users with routing
Based on the routing parameter, docs of a user will be stored in a shard. What will happen, if that shard's size reaches the max value? What is the solution?
So I have to create alias like below( in addition with common index alias
user1 ) after hitting max value and use only http://localhost:9200/user1(alias)/ for index and search. Please correct me
if I am wrong.
On Friday, July 12, 2013 2:00:59 PM UTC+5:30, David Pilato wrote:
You can create for example an index with alias on top of it.
When you hit the max value (for your use case), create a new index and use
the same alias on top of it.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 12 juil. 2013 à 10:16, Karthick Chokkalingam <ckart...@gmail.com<javascript:>>
a écrit :
I am planning to use single index for multiple users with routing
Based on the routing parameter, docs of a user will be stored in a shard.
What will happen, if that shard's size reaches the max value? What is the
solution?
Regards,
Karthick
--
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.