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
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public class DoubleMetaphoneFilterFactory : TokenFilterFactory
Constructors
Name | Description |
---|---|
DoubleMetaphoneFilterFactory(IDictionary<String, String>) | Creates a new DoubleMetaphoneFilterFactory |
Fields
Name | Description |
---|---|
DEFAULT_MAX_CODE_LENGTH | default maxCodeLength if not specified |
INJECT | parameter name: true if encoded tokens should be added as synonyms |
MAX_CODE_LENGTH | parameter name: restricts the length of the phonetic code |
Methods
Name | Description |
---|---|
Create(TokenStream) |