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
DirectoryInfoThe base directory
lockFactory
ILockFactoryThe lock factory
Properties
LockFactory
The factory for creating locks
public ILockFactory LockFactory { get; }
Property Value
Methods
CreateDirectory(LuceneIndex, bool)
protected override Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)
Parameters
luceneIndex
LuceneIndexforceUnlock
bool
Returns
- Directory
CreateTaxonomyDirectory(LuceneIndex, bool)
protected override Directory CreateTaxonomyDirectory(LuceneIndex luceneIndex, bool forceUnlock)
Parameters
luceneIndex
LuceneIndexforceUnlock
bool
Returns
- Directory