Elision Token Filter

edit

A token filter which removes elisions. For example, "l’avion" (the plane) will be tokenized as "avion" (plane).

Accepts articles setting which is a set of stop words articles. For example:

"index" : {
    "analysis" : {
        "analyzer" : {
            "default" : {
                "tokenizer" : "standard",
                "filter" : ["standard", "elision"]
            }
        },
        "filter" : {
            "elision" : {
                "type" : "elision",
                "articles" : ["l", "m", "t", "qu", "n", "s", "j"]
            }
        }
    }
}