Class TokenOffsetPayloadTokenFilterFactory
Factory for TokenOffsetPayloadTokenFilter.
<fieldType name="text_tokenoffset" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.TokenOffsetPayloadTokenFilterFactory"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class TokenOffsetPayloadTokenFilterFactory : TokenFilterFactory
Constructors
TokenOffsetPayloadTokenFilterFactory(IDictionary<string, string>)
Creates a new TokenOffsetPayloadTokenFilterFactory
Declaration
public TokenOffsetPayloadTokenFilterFactory(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 |