lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Shariq <shariqn...@gmail.com>
Subject Using DoubleMetaphone for phonetic search
Date Mon, 22 Sep 2014 07:49:16 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message