lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "AnalyzersTokenizersTokenFilters" by ShalinMangar
Date Mon, 25 Jan 2010 12:56:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "AnalyzersTokenizersTokenFilters" page has been changed by ShalinMangar.
The comment on this change is: PhoneticFilter is a solr class and supports maxCodeLength too.
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters?action=diff&rev1=70&rev2=71

--------------------------------------------------

  
  <!> [[Solr1.2]]
  
- Creates `org.apache.lucene.analysis.PhoneticFilter`.
+ Creates `org.apache.solr.analysis.PhoneticFilter`.
  
  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: [[http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/DoubleMetaphone.html|DoubleMetaphone]],
[[http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/Metaphone.html|Metaphone]],
[[http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/Soundex.html|Soundex]],
[[http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/RefinedSoundex.html|RefinedSoundex]]
||
  || inject|| true/false -- true will add tokens to the stream, false will replace the existing
token ||
+ || maxCodeLength|| integer -- sets the maximum length of the code to be generated. Supported
only for Metaphone and !DoubleMetaphone encodings ||
  
  {{{
    <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="true"/>

Mime
View raw message