Class TokenFilterFactory
Abstract parent class for analysis factories that create TokenFilter instances.
Inherited Members
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public abstract class TokenFilterFactory : AbstractAnalysisFactory
Constructors
Name | Description |
---|---|
TokenFilterFactory(IDictionary<String, String>) | Initialize this factory via a set of key-value pairs. |
Properties
Name | Description |
---|---|
AvailableTokenFilters | returns a list of all available tokenfilter names from the host project's referenced assemblies |
Methods
Name | Description |
---|---|
Create(TokenStream) | Transform the specified input TokenStream |
ForName(String, IDictionary<String, String>) | looks up a tokenfilter by name from the host project's referenced assemblies |
LookupClass(String) | looks up a tokenfilter class by name from the host project's referenced assemblies |
ReloadTokenFilters() | Reloads the factory list. Changes to the factories are visible after the method ends, all iterators (AvailableTokenFilters,...) stay consistent. NOTE: Only new factories are added, existing ones are never removed or replaced. This method is expensive and should only be called for discovery of new factories on the given classpath/classloader! |