Class KeepWordFilter
A TokenFilter that only keeps tokens with text contained in the required words. This filter behaves like the inverse of StopFilter.
@since solr 1.3
Inheritance
System.Object
KeepWordFilter
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 KeepWordFilter : FilteringTokenFilter, IDisposable
Constructors
Name | Description |
---|---|
KeepWordFilter(LuceneVersion, TokenStream, CharArraySet) | Create a new KeepWordFilter.
|
KeepWordFilter(LuceneVersion, Boolean, TokenStream, CharArraySet) |
Methods
Name | Description |
---|---|
Accept() |