def get_search_terms(self, request):
        params = request.query_params.get(self.search_param, '')
        return params.replace(',', ' ').split()
Search terms are set by a ?search=... query parameter,
dataset/ETHPy150Open tomchristie/django-rest-framework/rest_framework/filters.py/SearchFilter.get_search_terms