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

        :param agency_query: the agency query
        :type agency_query: ``osid.authentication.AgencyQuery``
        :param agency_search: the agency search
        :type agency_search: ``osid.authentication.AgencySearch``
        :return: the search results
        :rtype: ``osid.authentication.AgencySearchResults``
        :raise: ``NullArgument`` -- ``agency_query`` or ``agency_search`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``agency_query`` or ``agency_search`` is not of this service

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