Constructor SimpleFSDirectory
SimpleFSDirectory(DirectoryInfo, LockFactory)
Create a new SimpleFSDirectory for the named location.
Declaration
public SimpleFSDirectory(DirectoryInfo path, LockFactory lockFactory)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | path | the path of the directory |
LockFactory | lockFactory | the lock factory to use, or null for the default (NativeFSLockFactory); |
SimpleFSDirectory(DirectoryInfo)
Create a new SimpleFSDirectory for the named location and NativeFSLockFactory.
Declaration
public SimpleFSDirectory(DirectoryInfo path)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | path | the path of the directory |
SimpleFSDirectory(String, LockFactory)
Create a new SimpleFSDirectory for the named location.
LUCENENET specific overload for convenience using string instead of
Declaration
public SimpleFSDirectory(string path, LockFactory lockFactory)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | the path of the directory |
LockFactory | lockFactory | the lock factory to use, or null for the default (NativeFSLockFactory); |
SimpleFSDirectory(String)
Create a new SimpleFSDirectory for the named location and NativeFSLockFactory.
LUCENENET specific overload for convenience using string instead of
Declaration
public SimpleFSDirectory(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | the path of the directory |