.. _Hierarchical Search:

Hierarchical Search
===================


You can use single slash ('/') characters to search for strict (direct) hierarchies and double slash ('//') to search for non-strict (indirect) hierarchies.

You can choose to see all or just the direct descendants of the matched elements.

For each hierarchical segment you can use either :ref:`CamelCase` or :ref:`Simple Regex`.

.. list-table::

   * - No filter.
     - .. figure::../../images/common/quick_search_no_filter.png
   * - **Filter: first/second**
       
       Search for strict hierarchy. All elements that contain the search pattern and are in a direct hierarchical relationship (father/son) are shown.
     - .. figure::../../images/common/quick_search_hierarchical_strict.png
   * - **Filter: second/s_f/fi\***
       
       Search for strict hierarchy + CamelCase and simple Regex
     - .. figure::../../images/common/quick_search_hierarchical_strict_camelcase.png
   * - **Filter: second//fsc**
       
       Search for non-strict hierarchy. All elements that contain the search pattern and are in a direct or indirect hierarchical relationship (ancestor/../../descendant) are shown.
     - .. figure::../../images/common/quick_search_hierarchical_non_strict.png
   * - **Filter: s_p/**
       
       Search for strict hierarchy and show direct descendants. Same results as for search strict hierarchy, but including the sons of the matched elements.
     - .. figure::../../images/common/quick_search_hierarchical_first_children.png
   * - **Filter: s_p//**
       
       Search for strict hierarchy and show all descendants. Same results as for search strict hierarchy, but including all descendants of the matched elements.
     - .. figure::../../images/common/quick_search_hierarchical_all_children.png


