Class TempEnvFileSystemDirectoryFactory
- Namespace
- Examine.Lucene.Directories
- Assembly
- Examine.Lucene.dll
A directory factory used to create an instance of FSDirectory that uses the current %temp% environment variable
public class TempEnvFileSystemDirectoryFactory : FileSystemDirectoryFactory, IDirectoryFactory, IDisposable
- Inheritance
-
TempEnvFileSystemDirectoryFactory
- Implements
- Inherited Members
Remarks
This works well for Azure Web Apps directory sync
Constructors
TempEnvFileSystemDirectoryFactory(IApplicationIdentifier, ILockFactory)
public TempEnvFileSystemDirectoryFactory(IApplicationIdentifier applicationIdentifier, ILockFactory lockFactory)
Parameters
applicationIdentifier
IApplicationIdentifierlockFactory
ILockFactory
Methods
GetTempPath(IApplicationIdentifier)
Gets a temp path for examine indexes
public static string GetTempPath(IApplicationIdentifier applicationIdentifier)
Parameters
applicationIdentifier
IApplicationIdentifier