Class TestPostingsFormatFactory
LUCENENET specific class used to add the PostingsFormats from the test framework.
Inheritance
NamedServiceFactory<PostingsFormat>
DefaultPostingsFormatFactory
TestPostingsFormatFactory
Implements
IPostingsFormatFactory
IServiceListable
Inherited Members
DefaultPostingsFormatFactory.CustomPostingsFormatTypes
DefaultPostingsFormatFactory.AvailableServices
NamedServiceFactory<PostingsFormat>.m_initializationLock
NamedServiceFactory<PostingsFormat>.EnsureInitialized()
NamedServiceFactory<PostingsFormat>.CodecsAssembly
NamedServiceFactory<PostingsFormat>.IsFullyTrusted
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class TestPostingsFormatFactory : DefaultPostingsFormatFactory, IPostingsFormatFactory, IServiceListable
Methods
Initialize()
Initializes the codec type cache with the known Lucene.Net.Codecs.PostingsFormat types.
Override this method (and optionally call base.Initialize()) to add your
own Lucene.Net.Codecs.PostingsFormat types by calling PutPostingsFormatType(Type)
or ScanForPostingsFormats(Assembly).
Declaration
protected override void Initialize()
Overrides
Lucene.Net.Codecs.DefaultPostingsFormatFactory.Initialize()
Implements
Lucene.Net.Codecs.IPostingsFormatFactory
Lucene.Net.Util.IServiceListable