问题
ElasticSearch Nest seems to be missing the elision articles_case flag as discussed in this question: ArticleCase missing from nest elision filter?
I noticed the official French analyzer has a lowercase filter immediately after the french_elision filter like so:
"analyzer": {
"rebuilt_french": {
"tokenizer": "standard",
"filter": [
"french_elision", // <==== Has the ignore case property set
"lowercase",
"french_stop",
"french_keywords",
"french_stemmer"
]
}
}
Could I placed the lowercase step before the elision one and get the same behavior as if I had the articles_case property set? Or would that result in something different/bad compared to the way the official french analyzer is built?
来源:https://stackoverflow.com/questions/54656392/ignoring-case-for-elision-step-of-french-analyzer