RAMDirectory
instance from a different
/// Directory
implementation. This can be used to load
/// a disk-based index into memory.
/// /// This should be used only with indices that can fit into memory. /// ///
Directory
value
///
/// RAMDirectory
instance from the {@link FSDirectory}.
///
/// File
specifying the index directory
///
public RAMDirectory(System.IO.FileInfo dir) : this(FSDirectory.GetDirectory(dir, false), true)
{
}
/// RAMDirectory
instance from the {@link FSDirectory}.
///
/// String
specifying the full index directory path
///
public RAMDirectory(System.String dir) : this(FSDirectory.GetDirectory(dir, false), true)
{
}
///