Class DoubleMetaphoneFilterFactory
Factory for DoubleMetaphoneFilter.
<fieldType name="text_dblmtphn" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.DoubleMetaphoneFilterFactory" inject="true" maxCodeLength="4"/>
</analyzer>
</fieldType>
Inherited Members
TokenFilterFactory.AvailableTokenFilters
TokenFilterFactory.ReloadTokenFilters()
AbstractAnalysisFactory.LUCENE_MATCH_VERSION_PARAM
AbstractAnalysisFactory.m_luceneMatchVersion
AbstractAnalysisFactory.OriginalArgs
AbstractAnalysisFactory.AssureMatchVersion()
AbstractAnalysisFactory.LuceneMatchVersion
AbstractAnalysisFactory.GetClassArg()
AbstractAnalysisFactory.IsExplicitLuceneMatchVersion
Namespace: Lucene.Net.Analysis.Phonetic
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public class DoubleMetaphoneFilterFactory : TokenFilterFactory
Constructors
DoubleMetaphoneFilterFactory(IDictionary<string, string>)
Creates a new DoubleMetaphoneFilterFactory
Declaration
public DoubleMetaphoneFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Fields
DEFAULT_MAX_CODE_LENGTH
default maxCodeLength if not specified
Declaration
public static readonly int DEFAULT_MAX_CODE_LENGTH
Field Value
Type | Description |
---|---|
int |
INJECT
parameter name: true if encoded tokens should be added as synonyms
Declaration
public static readonly string INJECT
Field Value
Type | Description |
---|---|
string |
MAX_CODE_LENGTH
parameter name: restricts the length of the phonetic code
Declaration
public static readonly string MAX_CODE_LENGTH
Field Value
Type | Description |
---|---|
string |
Methods
Create(TokenStream)
Transform the specified input Lucene.Net.Analysis.TokenStream
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
Returns
Type | Description |
---|---|
TokenStream |
Overrides
Lucene.Net.Analysis.Util.TokenFilterFactory.Create(Lucene.Net.Analysis.TokenStream)