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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Phonetic
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public class DoubleMetaphoneFilterFactory : TokenFilterFactory
Constructors
| Improve this Doc View SourceDoubleMetaphoneFilterFactory(IDictionary<String, String>)
Creates a new DoubleMetaphoneFilterFactory
Declaration
public DoubleMetaphoneFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Fields
| Improve this Doc View SourceDEFAULT_MAX_CODE_LENGTH
default maxCodeLength if not specified
Declaration
public static readonly int DEFAULT_MAX_CODE_LENGTH
Field Value
Type | Description |
---|---|
System.Int32 |
INJECT
parameter name: true if encoded tokens should be added as synonyms
Declaration
public static readonly string INJECT
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
Returns
Type | Description |
---|---|
TokenStream |