Class SimpleFSDirectory
A straightforward implementation of FSDirectory
using java.io.RandomAccessFile. However, this class has
poor concurrent performance (multiple threads will
bottleneck) as it synchronizes when multiple threads
read from the same file. It's usually better to use
NIOFSDirectory or MMap
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class SimpleFSDirectory : FSDirectory
Constructors
Name | Description |
---|---|
Simple |
Create a new SimpleFSDirectory for the named location and the default lock factory. |
Simple |
Create a new SimpleFSDirectory for the named location. |
Methods
Name | Description |
---|---|
Create |
Creates an IndexOutput for the file with the given name. |
Open |
Creates an IndexInput for the file with the given name. |