Class DelimitedPayloadTokenFilter
Characters before the delimiter are the "token", those after are the payload.
For example, if the delimiter is '|', then for the string "foo|bar", foo is the token and "bar" is a payload.
Note, you can also include a IPayload
Note make sure your Tokenizer doesn't split on the delimiter, or this won't work
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class DelimitedPayloadTokenFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceDelimitedPayloadTokenFilter(TokenStream, Char, IPayloadEncoder)
Declaration
public DelimitedPayloadTokenFilter(TokenStream input, char delimiter, IPayloadEncoder encoder)
Parameters
Type | Name | Description |
---|---|---|
Token |
input | |
System. |
delimiter | |
IPayload |
encoder |
Fields
| Improve this Doc View SourceDEFAULT_DELIMITER
Declaration
public const char DEFAULT_DELIMITER = null
Field Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System. |
Overrides
Implements
IDisposable