lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <>
Subject RE: How to search for special chars like ä from ae?
Date Mon, 07 Feb 2011 20:54:47 GMT
Hi Anithya,

There is a mapping file for MappingCharFilterFactory that behaves the same as ASCIIFoldingFilterFactory:
mapping-FoldToASCII.txt, located in Solr's example conf/ directory in Solr 3.1+.  You can
rename and then edit this file to map "ä" to "ae", " ü" to "ue", etc. (look for "WITH DIAERESIS"
to quickly find characters with umlauts in the mapping file).
There is a commented-out example of using MappingCharFilterFactory in Solr's example schema.xml.

If you are using Solr 1.4.X, you can download the mapping-FoldToASCII.txt file here (from
the 3.x source tree):

Please consider donating your work back to Solr if you decide to go this route.

Good luck,

> -----Original Message-----
> From: Anithya []
> Sent: Monday, February 07, 2011 12:09 PM
> To:
> Subject: How to search for special chars like ä from ae?
> Hi! I want to search for special chars like mäcman by giving similar
> worded
> simple characters like maecman.
> I used <filter class="solr.ASCIIFoldingFilterFactory"/> and I'm getting
> mäcman from macman but I'm not able to get mäcman from maecman.
> Can this be done using any other filter?
> Thanks,
> Anithya
> --
> View this message in context:
> search-for-special-chars-like-a-from-ae-tp2444921p2444921.html
> Sent from the Solr - User mailing list archive at
View raw message