def _escape_string(string):
    """
    Escape Lucene escape characters in string
    :param string: string to escape
    :return: escaped string
    """
    escape_chars = ['+', '-', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '*', '?', ':', '&&', '||']

    for char in escape_chars:
        string = string.replace(char, '\\\\{}'.format(char))

    return string