You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/10 23:29:54 UTC
[Solr Wiki] Update of "AnalyzersTokenizersTokenFilters" by ryan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by ryan:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
------------------------------------------------------------------------------
Replaces accented characters in the ISO Latin 1 character set (ISO-8859-1) by their unaccented equivalent.
+
+ [[Anchor(PhoneticFilterFactory)]]
+ ==== solr.PhoneticFilterFactory ====
+
+ /!\ this is still in [https://issues.apache.org/jira/browse/SOLR-224 SOLR-224]
+
+ Creates `org.apache.lucene.analysis.PhoneticFilter`. (since solr 1.2)
+
+ Uses [http://jakarta.apache.org/commons/codec/ commons codec] to generate phonetically similar tokens. This currently supports [http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/package-summary.html four methods].
+
+ || arg || value ||
+ || encoder || one of: "!DoubleMetaphone", "Metaphone", "Soundex", "!RefinedSoundex" ||
+ || inject|| true/false -- true will add tokens to the stream, false will replace the existing token ||
+
+ {{{
+ <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="true"/>
+ }}}
+