mkhludnev commented on code in PR #5391:
URL: https://github.com/apache/solr/pull/5391#discussion_r4704946355


##########
solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc:
##########
@@ -91,6 +91,13 @@ A request with no other parameters returns every collection.
 
 The v1 `CLUSTERSTATUS` command is unchanged, and `includeAll` still defaults 
to true.
 
+=== Delete-by-Query Deletes Nested Descendants
+
+When the schema has the `\_nest_path_` field, a delete-by-query now also 
deletes all nested descendants of the documents it matches, at any depth.
+Previously, a query matching a parent but not all of its descendants left 
orphaned child documents behind, violating Solr's integrity assumptions for 
nested documents.
+To opt out, add the `withDescendants=false` local param to the query, e.g., 
`{!lucene withDescendants=false}category:obsolete`.

Review Comment:
   Why this parameter belongs to query, but not to handler request parameters? 
Can such query be a clause of enclosing query? I don't think so. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to