Class PatternReplaceFilterFactory
Factory for PatternReplaceFilter.
<fieldType name="text_ptnreplace" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.PatternReplaceFilterFactory" pattern="([^a-z])" replacement=""
replace="all"/>
</analyzer>
</fieldType>
Inheritance
System.Object
PatternReplaceFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PatternReplaceFilterFactory : TokenFilterFactory
Constructors
|
Improve this Doc
View Source
PatternReplaceFilterFactory(IDictionary<String, String>)
Declaration
public PatternReplaceFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Methods
|
Improve this Doc
View Source
Create(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides
See Also