tags:

views:

19

answers:

1

Let's say I have document indexed with apache Solr that contains this string - "Klüft skräms inför"

I want to be able to find it with search using this keyword "kluft" (note the "u"-"ü")

is there a way to do this ?

+1  A: 

Use the ASCIIFoldingFilterFactory for both the index and query analyzers.

Pascal Dimassimo
It's worth noting that there is also the [MappingCharFilterFactory](http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#CharFilterFactories), which is used by some popular Solr clients. I'm not sure if it offers any particular advantages over the `ASCIIFoldingFilterFactory`, which is certainly more comprehensive. We find ourselves occasionally having to make updates to our standard `mapping-ISOLatin1Accent.txt` file at [Websolr](http://websolr.com/) to accommodate clients that use the `MappingCharFilterFactory`.
Nick Zadrozny