Just like {@link #Open(File)}, but allows you to also specify a custom {@link LockFactory}.

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

Syntax

C#
public static FSDirectory Open(
	DirectoryInfo path,
	LockFactory lockFactory
)
Visual Basic
Public Shared Function Open ( _
	path As DirectoryInfo, _
	lockFactory As LockFactory _
) As FSDirectory
Visual C++
public:
static FSDirectory^ Open(
	DirectoryInfo^ path, 
	LockFactory^ lockFactory
)

Parameters

path
Type: System.IO..::..DirectoryInfo

[Missing <param name="path"/> documentation for "M:Lucene.Net.Store.FSDirectory.Open(System.IO.DirectoryInfo,Lucene.Net.Store.LockFactory)"]

lockFactory
Type: Lucene.Net.Store..::..LockFactory

[Missing <param name="lockFactory"/> documentation for "M:Lucene.Net.Store.FSDirectory.Open(System.IO.DirectoryInfo,Lucene.Net.Store.LockFactory)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Store.FSDirectory.Open(System.IO.DirectoryInfo,Lucene.Net.Store.LockFactory)"]

See Also