Is there any way to determine to which shard a given routing path maps? In
other words for routing path "123" i'd like to know which shard it ends up
on. We're trying to understand the vast difference in shard sizes we have.
Yes there is on search level. You can use the Search Shards API to see which shard will be hit with query. Although its a search related thing you can pass routing value and see which shard it will be routed to. The Github issue about it - https://github.com/elasticsearch/elasticsearch/issues/2726 and the page with some simple example http://goo.gl/stBLT7
Is there any way to determine to which shard a given routing path maps? In other words for routing path "123" i'd like to know which shard it ends up on. We're trying to understand the vast difference in shard sizes we have.
Thanks!
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
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.