View Source
Class ConfigurationEnabledDirectoryFactory
An Examine directory factory implementation based on configured values
Inheritance
System.Object
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class ConfigurationEnabledDirectoryFactory : DirectoryFactoryBase
Constructors
View Source
ConfigurationEnabledDirectoryFactory(IServiceProvider, IOptions<IndexCreatorSettings>, IApplicationRoot)
Declaration
public ConfigurationEnabledDirectoryFactory(IServiceProvider services, IOptions<IndexCreatorSettings> settings, IApplicationRoot applicationRoot)
Parameters
Type |
Name |
Description |
IServiceProvider |
services |
|
IOptions<IndexCreatorSettings> |
settings |
|
IApplicationRoot |
applicationRoot |
|
Methods
View Source
CreateDirectory(LuceneIndex, Boolean)
Declaration
protected override Lucene.Net.Store.Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)
Parameters
Type |
Name |
Description |
LuceneIndex |
luceneIndex |
|
System.Boolean |
forceUnlock |
|
Returns
Type |
Description |
Lucene.Net.Store.Directory |
|