What is the difference between the field operator CHILD OF and the keyword operator PARENTS DESCENDANTS
The search operators CHILD OF and PARENTS DESCENDANTS
are similar, but have some key differences:
- With CHILD OF, the target node is the node that you reference in it, and the results will only be direct children of the referenced node, including references
- With
PARENTS DESCENDANTS
, the target node is the parent relative to the search node, and the results will match any descendant (children, grandchildren, great grandchildren etc.) of the target node, ignoring reference nodes - With
PARENTS DESCENDANTS WITH REFS
, the same asPARENTS DESCENDANTS
except it includes reference nodes.
Source of FAQ: Tana Community Resource Hub, rewritten for clarity