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 IPayloadEncoder to convert the payload in an appropriate way (from characters to bytes).
Note make sure your Tokenizer doesn't split on the delimiter, or this won't work
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class DelimitedPayloadTokenFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
DelimitedPayloadTokenFilter(TokenStream, Char, IPayloadEncoder) |
Fields
Name | Description |
---|---|
DEFAULT_DELIMITER |
Methods
Name | Description |
---|---|
IncrementToken() |