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

        :param activity_query: the activity query
        :type activity_query: ``osid.learning.ActivityQuery``
        :param activitiesearch: the activity search
        :type activitiesearch: ``osid.learning.ActivitySearch``
        :return: the returned search results
        :rtype: ``osid.learning.ActivitySearchResults``
        :raise: ``NullArgument`` -- ``activity_query`` or ``activitiesearch`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``activitiesearch`` or ``activity_query`` is not of this service

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