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 ISet{string} must not change once passed to this class, and must allow multiple threads to call contains at once.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class FileSwitchDirectory : BaseDirectory
Constructors
Name | Description |
---|---|
FileSwitchDirectory(ISet<String>, Directory, Directory, Boolean) |
Properties
Name | Description |
---|---|
PrimaryDir | Return the primary directory |
SecondaryDir | Return the secondary directory |
Methods
Name | Description |
---|---|
CreateOutput(String, IOContext) | |
CreateSlicer(String, IOContext) | |
DeleteFile(String) | |
Dispose(Boolean) | |
FileExists(String) | |
FileLength(String) | |
GetExtension(String) | Utility method to return a file's extension. |
ListAll() | |
OpenInput(String, IOContext) | |
Sync(ICollection<String>) |