Class TypeTokenFilter
Removes tokens whose types appear in a set of blocked types from a token stream.
Inheritance
System.Object
TypeTokenFilter
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 TypeTokenFilter : FilteringTokenFilter, IDisposable
Constructors
Name | Description |
---|---|
TypeTokenFilter(LuceneVersion, TokenStream, ICollection<String>) | Create a new TypeTokenFilter that filters tokens out (useWhiteList=false). |
TypeTokenFilter(LuceneVersion, TokenStream, ICollection<String>, Boolean) | Create a new TypeTokenFilter. |
TypeTokenFilter(LuceneVersion, Boolean, TokenStream, ICollection<String>) | |
TypeTokenFilter(LuceneVersion, Boolean, TokenStream, ICollection<String>, Boolean) |
Methods
Name | Description |
---|---|
Accept() | By default accept the token if its type is not a stop type. When the Lucene.Net.Analysis.Core.TypeTokenFilter.useWhiteList parameter is set to true then accept the token if its type is contained in the Lucene.Net.Analysis.Core.TypeTokenFilter.stopTypes |