Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TestPostingsFormatFactory

    LUCENENET specific class used to add the PostingsFormats from the test framework.

    Inheritance
    object
    NamedServiceFactory<PostingsFormat>
    DefaultPostingsFormatFactory
    TestPostingsFormatFactory
    Implements
    IPostingsFormatFactory
    IServiceListable
    Inherited Members
    DefaultPostingsFormatFactory.CustomPostingsFormatTypes
    DefaultPostingsFormatFactory.ScanForPostingsFormats(IEnumerable<Assembly>)
    DefaultPostingsFormatFactory.ScanForPostingsFormats(Assembly)
    DefaultPostingsFormatFactory.PutPostingsFormatType(Type)
    DefaultPostingsFormatFactory.GetPostingsFormat(string)
    DefaultPostingsFormatFactory.GetPostingsFormat(Type)
    DefaultPostingsFormatFactory.NewPostingsFormat(Type)
    DefaultPostingsFormatFactory.GetPostingsFormatType(string)
    DefaultPostingsFormatFactory.AvailableServices
    NamedServiceFactory<PostingsFormat>.m_initializationLock
    NamedServiceFactory<PostingsFormat>.EnsureInitialized()
    NamedServiceFactory<PostingsFormat>.CodecsAssembly
    NamedServiceFactory<PostingsFormat>.IsServiceType(Type)
    NamedServiceFactory<PostingsFormat>.GetServiceName(Type)
    NamedServiceFactory<PostingsFormat>.GetCanonicalName(Type)
    NamedServiceFactory<PostingsFormat>.IsFullyTrusted
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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).

    If two types have the same name by using the Lucene.Net.Codecs.PostingsFormatNameAttribute, the last one registered wins.
    Declaration
    protected override void Initialize()
    Overrides
    Lucene.Net.Codecs.DefaultPostingsFormatFactory.Initialize()

    Implements

    Lucene.Net.Codecs.IPostingsFormatFactory
    Lucene.Net.Util.IServiceListable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.