Class CharFilterFactory
Abstract parent class for analysis factories that create CharFilter instances.
Inherited Members
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public abstract class CharFilterFactory : AbstractAnalysisFactory
Constructors
Name | Description |
---|---|
CharFilterFactory(IDictionary<String, String>) | Initialize this factory via a set of key-value pairs. |
Properties
Name | Description |
---|---|
AvailableCharFilters | returns a list of all available charfilter names |
Methods
Name | Description |
---|---|
Create(TextReader) | Wraps the given System.IO.TextReader with a CharFilter. |
ForName(String, IDictionary<String, String>) | looks up a charfilter by name from the host project's dependent assemblies |
LookupClass(String) | looks up a charfilter class by name from the host project's dependent assemblies |
ReloadCharFilters() | Reloads the factory list. Changes to the factories are visible after the method ends, all iterators (AvailableCharFilters,...) 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! |