Hi, I am using solr for searching phoneticly equivalent string my schema contains... <fieldType name="text_general_doubleMetaphone" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory" /> <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="true"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.StandardTokenizerFactory" /> <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="true"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType>
and fields are <field name="fname" type="text_general" indexed="true" stored="true" required="false" /> <field name="fname_sound" type="text_general_doubleMetaphone" indexed="true" stored="true" required="false" /> <copyField source="fname" dest="fname_sound" /> it works when i search stfn===> stephen, stephn But I am expecting stephn=====> stephen like How I will get this result. m I doing something wrong Thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-phonetic-by-DoubleMetaphone-soundex-encoder-tp4116885.html Sent from the Solr - User mailing list archive at Nabble.com.