Stemmer Token Filter(Stemmer 词元过滤器)

 一个过滤器,通过单个统一接口提供(几乎)所有可用的词干词元过滤器的访问,例如:
{
    "index" : {
        "analysis" : {
            "analyzer" : {
                "my_analyzer" : {
                    "tokenizer" : "standard",
                    "filter" : ["standard", "lowercase", "my_stemmer"]
                }
            },
            "filter" : {
                "my_stemmer" : {
                    "type" : "stemmer",
                    "name" : "light_german"
                }
            }
        }
    }
}

language / name 参数用以下可用值控制词干(首选过滤器以粗体标记):

| Arabic | arabic | | Armenian | armenian | | Basque | basque | | Brazilian Portuguese | brazilian | | Bulgarian | bulgarian | | Catalan | catalan | | Czech | czech | | Danish | danish | | Dutch | dutchdutch_kp | | English | englishlight_englishminimal_englishpossessive_englishporter2,lovins | | Finnish | finnishlight_finnish | | French | frenchlight_frenchminimal_french | | Galician | galicianminimal_galician (Plural step only) | | German | germangerman2light_germanminimal_german | | Greek | greek | | Hindi | hindi | | Hungarian | hungarianlight_hungarian | | Indonesian | indonesian | | Irish | irish | | Italian | italianlight_italian | | Kurdish (Sorani) | sorani | | Latvian | latvian | | Lithuanian | lithuanian | | Norwegian (Bokmål) | norwegianlight_norwegianminimal_norwegian | | Norwegian (Nynorsk) | light_nynorskminimal_nynorsk | | Portuguese | portugueselight_portugueseminimal_portugueseportuguese_rslp | | Romanian | romanian | | Russian | russianlight_russian | | Spanish | spanishlight_spanish | | Swedish | swedishlight_swedish | | Turkish | turkish |