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

        :param package_query: the package query
        :type package_query: ``osid.installation.PackageQuery``
        :param package_search: the package search
        :type package_search: ``osid.installation.PackageSearch``
        :return: the returned search results
        :rtype: ``osid.installation.PackageSearchResults``
        :raise: ``NullArgument`` -- ``package_query`` or ``package_search`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``package_search`` or ``package_query`` is not of this service

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