Hello,

If I am correct, deleting parent document still keeps the child
documents in the index. Which means they now have dangling _root_
references and what not.

What's the easiest delete command to take out the parent and all its
multilevel children, when I find the parents themselves with a query?

So far, I got:
(+type:release +release_name:"6.1.0") {!child
of=type:release}release_name:"6.1.0"

Is there a better way I missed?

Regards,
   Alex.
P.s. Interestingly, the above query will still match children after
the parent record is still gone. Until the merge/optimize anyway.
Which shows that the deleted record filtering happens after all the
matching, not just parent's matching.

----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/

Reply via email to