Class PersianNormalizationFilterFactory
Factory for PersianNormalizationFilter.
<fieldType name="text_fanormal" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<charFilter class="solr.PersianCharFilterFactory"/>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.PersianNormalizationFilterFactory"/>
</analyzer>
</fieldType>
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Fa
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PersianNormalizationFilterFactory : TokenFilterFactory, IMultiTermAwareComponent
Constructors
PersianNormalizationFilterFactory(IDictionary<string, string>)
Creates a new PersianNormalizationFilterFactory
Declaration
public PersianNormalizationFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
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
GetMultiTermComponent()
Returns an analysis component to handle analysis if multi-term queries. The returned component must be a TokenizerFactory, TokenFilterFactory or CharFilterFactory.
Declaration
public virtual AbstractAnalysisFactory GetMultiTermComponent()
Returns
Type | Description |
---|---|
AbstractAnalysisFactory |