public class DaitchMokotoffSoundexFilterFactory extends TokenFilterFactory
DaitchMokotoffSoundexFilter.
Create tokens based on Daitch–Mokotoff Soundex phonetic filter.
This takes one optional argument:
<fieldType name="text_phonetic" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.DaitchMokotoffSoundexFilterFactory" inject="true"/>
</analyzer>
</fieldType>DaitchMokotoffSoundexFilter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INJECT
parameter name: true if encoded tokens should be added as synonyms
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion| Constructor and Description |
|---|
DaitchMokotoffSoundexFilterFactory(java.util.Map<java.lang.String,java.lang.String> args)
Creates a new PhoneticFilterFactory
|
| Modifier and Type | Method and Description |
|---|---|
DaitchMokotoffSoundexFilter |
create(TokenStream input)
Transform the specified input TokenStream
|
availableTokenFilters, forName, lookupClass, reloadTokenFiltersget, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNamespublic static final java.lang.String INJECT
public DaitchMokotoffSoundexFilterFactory(java.util.Map<java.lang.String,java.lang.String> args)
public DaitchMokotoffSoundexFilter create(TokenStream input)
TokenFilterFactorycreate in class TokenFilterFactoryCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.