Class NumericPayloadTokenFilterFactory
Factory for NumericPayloadTokenFilter.
<fieldType name="text_numpayload" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.NumericPayloadTokenFilterFactory" payload="24" typeMatch="word"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class NumericPayloadTokenFilterFactory : TokenFilterFactory
Constructors
NumericPayloadTokenFilterFactory(IDictionary<string, string>)
Creates a new NumericPayloadTokenFilterFactory
Declaration
public NumericPayloadTokenFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
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 |