1. Elision Token Filter(Elision词元过滤器)

原文链接 :https://www.elastic.co/guide/en/elasticsearch/reference/5.4/analysis-elision-tokenfilter.html

译文链接 : http://www.apache.wiki/pages/viewpage.action?pageId=10027914

贡献者 : 李亚运ApacheCNApache中文网

1.1. 简述

此过滤器可以过滤省略元音。如,"l’avion" (the plane) 将会被过滤成 "avion" (plane)。

支持articles参数,其值为一组stop words(停止词,没有实际含义可忽略的词)。如下例所示:

"index" : {
    "analysis" : {
        "analyzer" : {
            "default" : {
                "tokenizer" : "standard",
                "filter" : ["standard", "elision"]
            }
        },
        "filter" : {
            "elision" : {
                "type" : "elision",
                "articles" : ["l", "m", "t", "qu", "n", "s", "j"]
            }
        }
    }
}
Copyright © Kilvn 2021. all right reserved,powered by Gitbook最后更新时间: 2021-06-08 20:22:42

results matching ""

    No results matching ""