Class KeywordRepeatFilter
This TokenFilter emits each incoming token twice once as keyword and once non-keyword, in other words once with
IsKeyword set to true
and once set to false
.
This is useful if used with a stem filter that respects the KeywordAttribute to index the stemmed and the
un-stemmed version of a term into the same field.
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 KeywordRepeatFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
KeywordRepeatFilter(TokenStream) | Construct a token stream filtering the given input. |
Methods
Name | Description |
---|---|
IncrementToken() | |
Reset() |