Class TrimFilter
Trims leading and trailing whitespace from Tokens in the stream.
As of Lucene 4.4, this filter does not support updateOffsets=true anymore as it can lead to broken token streams.
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 TrimFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
TrimFilter(LuceneVersion, TokenStream) | Create a new TrimFilter on top of |
TrimFilter(LuceneVersion, TokenStream, Boolean) | Create a new TrimFilter. |
Methods
Name | Description |
---|---|
IncrementToken() |