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

        :param agent_query: the agent query
        :type agent_query: ``osid.authentication.AgentQuery``
        :param agent_search: the agent search
        :type agent_search: ``osid.authentication.AgentSearch``
        :return: the returned search results
        :rtype: ``osid.authentication.AgentSearchResults``
        :raise: ``NullArgument`` -- ``agent_query`` or ``agent_search`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``agent_search`` or ``agent_query`` is not of this service

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