I think you're confusing shards with replicas.

numShards is 2, each with one replica. Therefore half of your docs
will wind up on one replica and half on the other. If you're adding a
single doc, by definition it'll be placed on only one of the two
shards. If your shards had multiple replicas, all of the replicas
associated with that shard would change.

Best,
Erick

On Tue, Nov 21, 2017 at 12:56 PM, Tom Barber <[email protected]> wrote:
> Hi folks
>
> I can't find an answer to this, and its clearly user error,  we have a 
> collection in solrcloud that is started numShards=2 replicationFactor=1 solr 
> seems happy the collection seems happy. Yet when we post and update to it and 
> then look at the record again, it seems to only affect one core and not the 
> second.
>
> What are we likely to be doing wrong in our config or update to prevent the 
> replication?
>
> Thanks
>
> Tom

Reply via email to