def METHOD_NAME(search_results, search_term, type, item, id_field, value_field, score_multiplier):
    # Find matches that start with the search term and apply a multiplier
    if getattr(item, value_field).lower().startswith(search_term.lower()):
        score_multiplier = score_multiplier * 3
    # Find matches that exactly match the search term and apply a multiplier
    if getattr(item, value_field).lower() == search_term.lower():
        score_multiplier = score_multiplier * 10
    search_results.append(
        SearchResult(
            getattr(item, 'score') * score_multiplier, type, {
                'id': getattr(item, id_field),
                'value': getattr(item, value_field)
            }))