When using nested or child document. Update and delete operation on the root document should also affect the nested documents, as no child can exist without its parent
If I change my mind and the author was not named John but Jane:
I would expect that John is not in the index anymore. Currently he is. There might also be the case that any subdocument is removed by an update:
This should affect a delete on all nested documents, too. The same way all nested documents should be deleted if I delete the root document:
This is currently possible to do all this stuff on client side by issuing additional request to delete document before every update. It would be more efficient if this could be handled on SOLR side. One would benefit on atomic update. The biggest plus shows when using "delete-by-query".
In that case one would not have to first query all documents and issue deletes by those id and every document that are nested.