View Source
Class ConfigurationEnabledDirectoryFactory
An Examine directory factory implementation based on configured values
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, bool)
Declaration
protected override Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)
Parameters
| Type |
Name |
Description |
| LuceneIndex |
luceneIndex |
|
| bool |
forceUnlock |
|
Returns
| Type |
Description |
| Directory |
|