Section navigation

Public classSealed 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

Public property CharFilterFactories

Gets the ordered character-filter factories.

Public property DefaultAnalyserFactory

Gets or sets a factory that creates the default analyser for a writer. Null clears the override.

Public property FieldAnalyserFactories

Gets the field analyser factories. Use ForField(string, Func<IAnalyser>) to register one.

Public property StopWords

Gets or sets copied stop words for the default analyser. Null clears the override.

Public method AddCharFilter(Func<ICharFilter>)

Adds a character-filter factory after the existing factories.

Public method ForField(string, Func<IAnalyser>)

Registers or replaces the analyser factory for a field.