Did you try setting the "magic" field _route_ in your docs to the
shard? Something like
doc.addField("_route", "shard1")?

Best,
Erick

On Wed, Jun 15, 2016 at 10:31 AM, nikosmarinos <nikosmari...@hotmail.com> wrote:
> Is it possible to give an example? I want doc1 to be explicitly routed to
> "shard1" of my "implicit" collection and doc2 to "shard4". How can I do
> that?
>
> Creating an implicit collection with one of the example configurations of
> the solr package, defining the "id" field as the router.field (not sure if
> necessary) and indexing id:shard1 id:shard2 id:shard3 takes all documents to
> the same (random) shard.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/indexing-data-to-solrcloud-with-implicit-is-not-distributing-across-cluster-tp4232956p4282428.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to