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