Class PatternCaptureGroupFilterFactory
Factory for PatternCaptureGroupTokenFilter.
<fieldType name="text_ptncapturegroup" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.PatternCaptureGroupFilterFactory" pattern="([^a-z])" preserve_original="true"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Pattern
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PatternCaptureGroupFilterFactory : TokenFilterFactory
Constructors
PatternCaptureGroupFilterFactory(IDictionary<string, string>)
Factory for PatternCaptureGroupTokenFilter.
<fieldType name="text_ptncapturegroup" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.PatternCaptureGroupFilterFactory" pattern="([^a-z])" preserve_original="true"/>
</analyzer>
</fieldType>
Declaration
public PatternCaptureGroupFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
See Also
Methods
Create(TokenStream)
Transform the specified input Lucene.Net.Analysis.TokenStream
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
Returns
Type | Description |
---|---|
TokenStream |