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):

http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/mapping-FoldToASCII.txt

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

Good luck,
Steve

> -----Original Message-----
> From: Anithya [mailto:surysha...@gmail.com]
> Sent: Monday, February 07, 2011 12:09 PM
> To: solr-user@lucene.apache.org
> 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: http://lucene.472066.n3.nabble.com/How-to-
> search-for-special-chars-like-a-from-ae-tp2444921p2444921.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to