Hi,

I have an 8 shards collection, where I am using *compositeId* routing
with *router.field
*(a field named parentglUsrId). The unique Id of the collection is a
different field *displayid*.

I am trying a delete by id operation where I pass a list of displayids to
delete. I observed that no documents are being deleted. when I checked the
logs I found that the deletion request for an Id might not go to the
correct shard and perform a request on some other shard that was not
hosting this Id. This might be due to solr trying to find the shard based
on the hash of displayid but my sharding is done on the basis of
parentglUsrId.


is there anything I am missing? Because it seems like a simple operation.
what do I need to do to broadcast a delete by id request to all shards so
relevant id can be deleted on each shard?

Reply via email to