Class PatternReplaceCharFilterFactory
Factory for PatternReplaceCharFilter.
<fieldType name="text_ptnreplace" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="([^a-z])" replacement=""/>
<tokenizer class="solr.KeywordTokenizerFactory"/>
</analyzer>
</fieldType>
@since Solr 3.1
Inherited Members
Namespace: Lucene.Net.Analysis.Pattern
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PatternReplaceCharFilterFactory : CharFilterFactory
Constructors
| Improve this Doc View SourcePatternReplaceCharFilterFactory(IDictionary<String, String>)
Creates a new PatternReplaceCharFilterFactory
Declaration
public PatternReplaceCharFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<System.String, System.String> | args |
Methods
| Improve this Doc View SourceCreate(TextReader)
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input |
Returns
Type | Description |
---|---|
TextReader |