lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay (JIRA)" <>
Subject [jira] [Commented] (SOLR-8889) SolrCloud deleteById is broken when router.field is set
Date Wed, 23 May 2018 22:47:00 GMT


Jay commented on SOLR-8889:

[~dsmiley], [~ichattopadhyaya]: is there a solution for this issue. I have a multisharded,
implicity routing in my setup and also do lot of deletes. Is there an alternative to using

Tested  in both solr5.3 & solr 6.6.3.



> SolrCloud deleteById is broken when router.field is set
> -------------------------------------------------------
>                 Key: SOLR-8889
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, SolrJ
>            Reporter: David Smiley
>            Priority: Major
>         Attachments: SOLR_8889_investigation.patch
> If you set router.field on your collection to shard by something other than the ID, then
deleting documents by ID fails some of the time (how much depends on how sharded the collection
is).  I suspect that it'd work if the IDs provided when deleting by ID were prefixed using
the composite key syntax -- "routekey!id" though I didn't check.  This is terrible.  Internally
Solr should broadcast to all the shards if there is no composite key prefix.
> Some affected code is UpdateRequest.getRoutes.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message