On 5/21/2015 9:02 AM, tuxedomoon wrote:
> l>> If it is "implicit" then
>>> you may have indexed the new document to a different shard, which means
>>> that it is now in your index more than once, and which one gets returned
>>> may not be predictable.
> 
> If a document with uniqueKey "1234" is assigned to a shard by SolrCloud,
> implicit routing won't a reindex of "1234" be assigned to the same shard? 
> If not you'd have dups all over the cluster. 

The "implicit" router basically means manual routing.  Whatever shard
actually receives the request will be the one that indexes it.

If you want documents automatically routed according to their hash, you
need the compositeId router.

Thanks,
Shawn

Reply via email to