take a look at the ISOLatin1AccentFilter .. it doesn't seem to do exactly what you want (replacing "ü" with "ue" .. it just uses "u") but it should give you an idea of what you can do.
There was also a discussion recently about how you can use a modified version of this Filter at index time to get both versions of the word indexed with the same position... http://www.nabble.com/Question-about-special-characters-t1676416.html#a4545641 : Date: Tue, 20 Jun 2006 14:09:18 +0200 : From: Supriya Kumar Shyamal <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: How to search for europian word with and without special : characters : : Hi All, : : I have a question regarding the indexing and searching for german : characters. For eg. when I search for the word "müller" also I want to : search for the word "mueller". How to achieve this in lucene. : : Thanks, : supriya : : -- : Mit freundlichen Grüßen / Regards : : Supriya Kumar Shyamal : : Software Developer : tel +49 (30) 443 50 99 -22 : fax +49 (30) 443 50 99 -99 : email [EMAIL PROTECTED] : ___________________________ : artnology GmbH : Milastr. 4 : 10437 Berlin : ___________________________ : : http://www.artnology.com : __________________________________________________________________________ : : News / Aktuelle Projekte: : * artnology gewinnt Ausschreibung des Bundesministeriums des Innern: : Softwarelösung für die Verwaltung der Sammlung zeitgenössischer : Kunstwerke zur kulturellen Repräsentation des Bundes. : : Projektreferenzen: : * Globaler eShop und Corporate-Site für Springer: www.springeronline.com : * E-Detailing-Portal für Novartis: www.interaktiv.novartis.de : * Service-Center-Plattform für Biogen: www.ms-life.de : * eCRM-System für Grünenthal: www.gruenenthal.com : : ___________________________________________________________________________ : : : --------------------------------------------------------------------- : To unsubscribe, e-mail: [EMAIL PROTECTED] : For additional commands, e-mail: [EMAIL PROTECTED] : -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]