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 String |
INJECT
parameter name: true if encoded tokens should be added as synonyms
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
DaitchMokotoffSoundexFilterFactory(Map<String,String> args)
Creates a new PhoneticFilterFactory
|
Modifier and Type | Method and Description |
---|---|
DaitchMokotoffSoundexFilter |
create(TokenStream input) |
availableTokenFilters, forName, lookupClass, reloadTokenFilters
get, 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, splitFileNames
public static final String INJECT
public DaitchMokotoffSoundexFilter create(TokenStream input)
create
in class TokenFilterFactory
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.