Lookup for routing to shard mappings?

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.
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.

Hello!

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

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

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.

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.