def METHOD_NAME(self, queryset, search_term):
    """Return the queryset refined according to search_term.
    search_term can either be a word or a "name:value" string, such as
    variable:temperature.
    """
    if ":" not in search_term:
        return self._general_filter(queryset, search_term)
    else:
        name, dummy, value = search_term.partition(":")
        return self._specific_filter(queryset, name, value)