Class DaitchMokotoffSoundexFilterFactory


  • public class DaitchMokotoffSoundexFilterFactory
    extends TokenFilterFactory
    Factory for DaitchMokotoffSoundexFilter. Create tokens based on Daitch–Mokotoff Soundex phonetic filter.

    This takes one optional argument:

    inject
    (default=true) add tokens to the stream with the offset=0
     <fieldType name="text_phonetic" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.DaitchMokotoffSoundexFilterFactory" inject="true"/>
       </analyzer>
     </fieldType>
    Since:
    5.0.0
    See Also:
    DaitchMokotoffSoundexFilter
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    SPI Name (Note: This is case-insensitive. e.g., if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service):
    "daitchMokotoffSoundex"