You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Michael Joyner (NewsRx)" <mi...@newsrx.com> on 2016/11/02 17:23:28 UTC

Question about shards, compositeid, and routing

Ref: 
https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud

If an update specifies only the non-routed id, will SolrCloud select the 
correct shard for updating?

If an update specifies a different route, will SolrCloud delete the 
previous document with the same id but with the different routing? (Will 
it effectively change which shard the document is stored on?)

Does the document id have to be unique ignoring the routing prefix? (Is 
the routing prefix considered as part of the id for uniqueness?)


-Mike