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>
Inheritance
System.Object
DoubleMetaphoneFilterFactory
Assembly: Lucene.Net.Analysis.Phonetic.dll
public class DoubleMetaphoneFilterFactory : TokenFilterFactory
Constructors
|
Improve this Doc
View Source
Declaration
public DoubleMetaphoneFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Fields
|
Improve this Doc
View Source
default maxCodeLength if not specified
Declaration
public static readonly int DEFAULT_MAX_CODE_LENGTH
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
parameter name: true if encoded tokens should be added as synonyms
Declaration
public static readonly string INJECT
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
parameter name: restricts the length of the phonetic code
Declaration
public static readonly string MAX_CODE_LENGTH
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides