nick-boss-tech commented on PR #5093:
URL: https://github.com/apache/solr/pull/5093#issuecomment-7327526341

   Reviewed both commits. The simplification keeps the behavior: mutateField 
and mutateChildren cover the same paths, the field is still re-read after 
mutation so removed children are not visited, and the subset test refactor 
asserts the same things at every level; all 37 tests in 
FieldMutatingUpdateProcessorTest pass here at the new head. The upgrade note 
and the ref guide line read well.
   
   One nuance in the new visited set: it holds only child documents, where the 
old set also held the root, so a root document also reachable as its own 
descendant would now be mutated twice instead of once. That takes a 
self-referential document graph, which cannot be indexed anyway, so I do not 
think it matters in practice; I am flagging it only because the comment above 
mutateChild still says 'reachable by more than one path'. Fine either way if 
you leave it.
   
   I also merged main into the branch: the only conflict was in the upgrade 
notes, where main added a section in the same spot, and I kept both sections. 
FieldMutatingUpdateProcessorTest (37), TestNestedUpdateProcessor (9) and 
ParsingFieldUpdateProcessorsTest (45) all pass at the merged head.
   
   Thanks for the cleanup and the docs.
   
   🤖 *AI-generated text above* 🤖


-- 
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