Mailing List Archive

Using DoubleMetaphone for phonetic search
Hi,
I want to improve the search result by using below filter
<filter class="solr.DoubleMetaphoneFilterFactory" inject="true"
maxCodeLength="8"/>

But its giving the strange result.

E.g
for the word "dew" its matching with "tofu"

its happening because DoubleMetaphone token are
dew: ('T', 'TF')
tofu: ('TF', None)


Please let me know that how to solve this problem.

Also is there any such option like "minCodeLength" with
DoubleMetaphoneFilterFactory



Thanks