Class FileSwitchDirectory
Expert: A Directory instance that switches files between two other Directory instances.
Files with the specified extensions are placed in the primary directory; others are placed in the secondary directory. The provided Set must not change once passed to this class, and must allow multiple threads to call contains at once.
NOTE: this API is new and experimental and is subject to suddenly change in the next release.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class FileSwitchDirectory : Directory
Constructors
Name | Description |
---|---|
FileSwitchDirectory(Collections.Generic.HashSet<String>, Directory, Directory, Boolean) |
Properties
Name | Description |
---|---|
PrimaryDir | Return the primary directory |
SecondaryDir | Return the secondary directory |
Methods
Name | Description |
---|---|
CreateOutput(String) | |
DeleteFile(String) | |
Dispose(Boolean) | |
FileExists(String) | |
FileLength(String) | |
FileModified(String) | |
GetExtension(String) | Utility method to return a file's extension. |
ListAll() | |
OpenInput(String) | |
Sync(String) | |
TouchFile(String) |