I'd try solr.PhoneticFilterFactory, it usually converts these slight differences... schmidt, smith and schmid will be something like XMDT
2011/8/1 thomas <tom.erfu...@googlemail.com> > Hi, > we have several entries in our database our customer would like to find > when > using a not exactly matching search string. The Problem is kind of related > to spelling correction and synonyms. But instead of single entries in > synonyms.txt we would like a automatic solution for this group of problems: > > When searching for the name: "schmid" we want to find also documents with > the name "schmidt" included. There are analog names like "hildebrand" and > "hildebrandt" and more. That is the reason we'd like to find a automatic > solution for this group of words. > > We allready use the following filters in our index chain > <filter class="solr.DictionaryCompoundWordTokenFilterFactory" > dictionary="dictionary_de.txt"/> > <filter class="solr.SnowballPorterFilterFactory" language="German2" > protected="protwords.txt"/> > > Unfortunatelly the german stemmer is not handling such problems. Nor is > this > a problem related to compound words. > > Does anyone know of a solution? maybe its possible to set up a filter rule > to extend words ending with letter "d" automatically with letter "t" in the > query chain? Or other direction to remove "t" letters after "d" letters in > index chain. > > Thanks a lot > Thomas > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/German-language-specific-problem-automatic-Spelling-correction-automatic-Synonyms-tp3216278p3216278.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- *Alexei Martchenko* | *CEO* | Superdownloads ale...@superdownloads.com.br | ale...@martchenko.com.br | (11) 5083.1018/5080.3535/5080.3533