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.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public class PatternReplaceCharFilterFactory : CharFilterFactory
Constructors
Name | Description |
---|---|
PatternReplaceCharFilterFactory(IDictionary<String, String>) | Creates a new PatternReplaceCharFilterFactory |
Methods
Name | Description |
---|---|
Create(TextReader) |