@abc.abstractmethod<EOL><INDENT>def get_hierarchies_by_search(self, hierarchy_query, hierarchy_search):<DEDENT>
return<EOL>
Gets the search results matching the given search query using the given search.

        :param hierarchy_query: the hierarchy query
        :type hierarchy_query: ``osid.hierarchy.HierarchyQuery``
        :param hierarchy_search: the hierarchy search
        :type hierarchy_search: ``osid.hierarchy.HierarchySearch``
        :return: the hierarchy search results
        :rtype: ``osid.hierarchy.HierarchySearchResults``
        :raise: ``NullArgument`` -- ``hierarchy_query`` or ``hierarchy_search`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``hierarchy_query`` or ``hierarchy_search`` is not of this service

        *compliance: mandatory -- This method must be implemented.*