def evaluate_term(term):
    """Converts a term dictionary into a string like "field=^value"."""
    operator = '='

    # This list contains the characters signifying their search modifier in the
    # order they are listed in the enum.
    char_list = ['', '*', '>', ']', '<', '[', '^', '!']
    if 'modifier' in term.keys():
        operator += char_list[term['modifier'].value - 1]

    return term['field'] + operator + term['value']