Creates a new
CopyC#
RAMDirectory
instance from the {@link FSDirectory}.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use RAMDirectory(Directory) instead")]
public RAMDirectory(
	FileInfo dir
)
Visual Basic
<ObsoleteAttribute("Use RAMDirectory(Directory) instead")> _
Public Sub New ( _
	dir As FileInfo _
)
Visual C++
[ObsoleteAttribute(L"Use RAMDirectory(Directory) instead")]
public:
RAMDirectory(
	FileInfo^ dir
)

Parameters

dir
Type: System.IO..::..FileInfo
a
CopyC#
File
specifying the index directory

See Also