Class PersianCharFilterFactory
Factory for PersianCharFilter.
<fieldType name="text_fa" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<charFilter class="solr.PersianCharFilterFactory"/>
<tokenizer class="solr.StandardTokenizerFactory"/>
</analyzer>
</fieldType>
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Fa
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PersianCharFilterFactory : CharFilterFactory, IMultiTermAwareComponent
Constructors
PersianCharFilterFactory(IDictionary<string, string>)
Creates a new PersianCharFilterFactory
Declaration
public PersianCharFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Methods
Create(TextReader)
Wraps the given TextReader with a Lucene.Net.Analysis.CharFilter.
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input |
Returns
Type | Description |
---|---|
TextReader |
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 |