

def do_search_ranking(self, engine_slug, queryset, search_text):
    'Ranks the given queryset according to the relevance of the given search text.'
    return queryset.extra(select={
        'watson_rank': '1',
    })

dataset/ETHPy150Open etianen/django-watson/src/watson/backends.py SearchBackend.do_search_ranking/original