My requirement: I want to be able to search for all Ingredients, without having to mark things as an ingredient at every level. Partly because I don’t want the <<toc>> macro to repeat nodes at different levels; I want water to appear just once in the toc, below liquid, and not also under ingredients. And partly because it would feel like I’m repeating myself and providing excess info that shouldn’t need to be stated explicitly.
Also, take a look at $:/plugins/yaisog/taggingtree-filter
It does a subset of kin – just the part that you need – and can be faster than kin in large wikis.