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
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.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 |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Methods
| Improve this Doc View SourceCreate(TextReader)
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input |
Returns
Type | Description |
---|---|
System.IO.TextReader |