Method ScanForPostingsFormats
ScanForPostingsFormats(IEnumerable<Assembly>)
Scans the given assemblies
for subclasses of Codec
and adds their names to the Lucene.Net.Codecs.DefaultPostingsFormatFactory.postingsFormatNameToTypeMap. Note that names will be
automatically overridden if the PostingsFormat name appears multiple times - the last match wins.
Declaration
protected virtual void ScanForPostingsFormats(IEnumerable<Assembly> assemblies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Assembly> | assemblies | A list of assemblies to scan. The assemblies will be scanned from first to last, and the last match for each PostingsFormat name wins. |
ScanForPostingsFormats(Assembly)
Scans the given assembly
for subclasses of PostingsFormat
and adds their names to the Lucene.Net.Codecs.DefaultPostingsFormatFactory.postingsFormatNameToTypeMap. Note that names will be
automatically overridden if the PostingsFormat name appears multiple times - the last match wins.
Declaration
protected virtual void ScanForPostingsFormats(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to scan. |