
AnalysisDefaultOptions
- Namespace
- Rowles.LeanCorpus
- Assembly
- Rowles.LeanCorpus.dll
Analysis defaults with factory-backed ownership and copied collections. A null factory or stop-word list clears that process-wide override.
public sealed class AnalysisDefaultOptions
- Inheritance
-
AnalysisDefaultOptions
CharFilterFactories
Gets the ordered character-filter factories.
DefaultAnalyserFactory
Gets or sets a factory that creates the default analyser for a writer. Null clears the override.
FieldAnalyserFactories
Gets the field analyser factories. Use ForField(string, Func<IAnalyser>) to register one.
StopWords
Gets or sets copied stop words for the default analyser. Null clears the override.
AddCharFilter(Func<ICharFilter>)
Adds a character-filter factory after the existing factories.
ForField(string, Func<IAnalyser>)
Registers or replaces the analyser factory for a field.