changes score variable name to the less generic search_score