Table of Contents

Class FileSystemDirectoryFactory

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

Represents a directory factory for creating file system directories

public class FileSystemDirectoryFactory : DirectoryFactoryBase, IDirectoryFactory, IDisposable
Inheritance
FileSystemDirectoryFactory
Implements
Derived
Inherited Members

Constructors

FileSystemDirectoryFactory(DirectoryInfo, ILockFactory)

Creates an instance of FileSystemDirectoryFactory

public FileSystemDirectoryFactory(DirectoryInfo baseDir, ILockFactory lockFactory)

Parameters

baseDir DirectoryInfo

The base directory

lockFactory ILockFactory

The lock factory

Properties

LockFactory

The factory for creating locks

public ILockFactory LockFactory { get; }

Property Value

ILockFactory

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