Table of Contents

Class GenericDirectoryFactory

Namespace
Examine.Lucene.Directories
Assembly
Examine.Lucene.dll

Represents a generic directory factory

public class GenericDirectoryFactory : DirectoryFactoryBase, IDirectoryFactory, IDisposable
Inheritance
GenericDirectoryFactory
Implements
Inherited Members

Constructors

GenericDirectoryFactory(Func<string, Directory>)

Creates a an instance of GenericDirectoryFactory

[Obsolete("To remove in Examine V5")]
public GenericDirectoryFactory(Func<string, Directory> factory)

Parameters

factory Func<string, Directory>

The factory

GenericDirectoryFactory(Func<string, Directory>, Func<string, Directory>)

Creates a an instance of GenericDirectoryFactory

public GenericDirectoryFactory(Func<string, Directory> factory, Func<string, Directory> taxonomyDirectoryFactory)

Parameters

factory Func<string, Directory>

The factory

taxonomyDirectoryFactory Func<string, Directory>

The taxonomy directory factory

Methods

CreateDirectory(LuceneIndex, bool)

protected override Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)

Parameters

luceneIndex LuceneIndex
forceUnlock bool

Returns

Directory

CreateTaxonomyDirectory(LuceneIndex, bool)

protected override Directory CreateTaxonomyDirectory(LuceneIndex luceneIndex, bool forceUnlock)

Parameters

luceneIndex LuceneIndex
forceUnlock bool

Returns

Directory