This seems like an "XY problem". _Why_ do you want to do this?
Has your collection outgrown one shard and you feel you have to
split it? Sharding should only be used when you can't host your
entire collection on a single replica and still get adequate performance.

When you do reach that point, the usual process is to just
decide how many shards you need and let Solr do the rest
of the work. Why do you think you need to specify how docs
are routed based on some field?

Best,
Erick

On Mon, Jul 2, 2018 at 6:06 PM, Sushant Vengurlekar
<svengurle...@curvolabs.com> wrote:
> I want to split a collection based on one field. How do I do it and then
> query based off that.
>
> Ex: collection1. Field to split off col1
>
> Thank you

Reply via email to