[ 
https://issues.apache.org/jira/browse/SOLR-6910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433300#comment-17433300
 ] 

Gus Heck edited comment on SOLR-6910 at 10/23/21, 3:16 PM:
-----------------------------------------------------------

In more recent versions than [~makosten] mentions, we have nested documents, 
and for that feature deleting by ID is important to ensure children are cleaned 
up. Delete by query will not clean up children (and those children may then 
show up as children of the wrong documents, depending on how parent/child 
queries are crafted), so either an error or a broadcast would seem important 
here.


was (Author: gus_heck):
In more recent versions than the OP mentions, we have nested documents, and for 
that feature deleting by ID is important to ensure children are cleaned up. 
Delete by query will not clean up children (and those children may then show up 
as children of the wrong documents, depending on how parent/child queries are 
crafted), so either an error or a broadcast would seem important here.

> deleteById without _route_ param for implicit router could be broadcast
> -----------------------------------------------------------------------
>
>                 Key: SOLR-6910
>                 URL: https://issues.apache.org/jira/browse/SOLR-6910
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> A deleteById request without __route__ param for implicit router could be 
> sent to all shard leaders (Shalin). Alternatively, a new router (or a strict 
> mode for implicit router) that requires _route_ to be set for all 
> adds/deletes (Yonik).
> Some discussion here in SOLR-5890:
> https://issues.apache.org/jira/browse/SOLR-5890?focusedCommentId=14236722&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14236722
> https://issues.apache.org/jira/browse/SOLR-5890?focusedCommentId=14264525&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14264525



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to