main
detect_match_and_decorate
def self.detect_match_and_decorate record, index, field_name, value, search_value, match_fields