Constructor ReaderManager
ReaderManager(IndexWriter, Boolean)
Creates and returns a new ReaderManager from the given IndexWriter.
Declaration
public ReaderManager(IndexWriter writer, bool applyAllDeletes)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer | the IndexWriter to open the IndexReader from. |
System.Boolean | applyAllDeletes | If |
ReaderManager(Directory)
Creates and returns a new ReaderManager from the given Directory.
Declaration
public ReaderManager(Directory dir)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | the directory to open the DirectoryReader on. |