Upgraded to ES 2.2.1 from a very old 0.18 installation and I have run inte a problem.
I have two environments where I have configured an analysis-icu analyzer. In the first envoronment (win 7) everytyhing works perfectly, but in my other environment (Liniux) the unicodeSetFilter parameter is ignored. The elasticsearch.yml file looks like this and is utf-8 encoded:
index :
analysis :
analyzer :
swedishIcuFoldingAnalyzer :
type : custom
tokenizer : standard
filter : [icuFolding, lowercase, swedish_stop]
filter :
swedish_stop :
type : stop
stopwords : _swedish_
icuFolding :
type : icu_folding
unicodeSetFilter : "[^åäöÅÄÖ]"
When I query for the text "modrar" it will match "mödrar" in the Linux environment while on Windows it will not - as expected.
Any clues...?