On 5/21/15, 5:19 AM, Björn Keil wrote:
Thanks for the advice. I have tried the field type and it seems to do what it 
is supposed to in combination with a lower case filter.

However, that raises another slight problem:

German umlauts are supposed to be treated slightly different for the purpose of searching than for sorting. For sorting 
a normal ICUCollationField with standard rules should suffice*, for the purpose of searching I cannot just replace an 
"ü" with a "u", "ü" is supposed to equal "ue", or, in terms of 
RuleBasedCollators, there is a secondary difference.

I haven't used this personally but GermanNormalizationFilter seems to do the job
https://lucene.apache.org/core/5_1_0/analyzers-common/org/apache/lucene/analysis/de/GermanNormalizationFilter.html




Reply via email to