Method CreateIndexWriterConfig
CreateIndexWriterConfig(OpenMode)
Create the IndexWriterConfig that would be used for opening the internal index writer.
Extensions can configure the IndexWriter as they see fit, including setting a MergeScheduler, or IndexDeletionPolicy, different RAM size etc.
NOTE: internal docids of the configured index must not be altered. For that, categories are never deleted from the taxonomy index. In addition, merge policy in effect must not merge none adjacent segments.
Declaration
protected virtual IndexWriterConfig CreateIndexWriterConfig(OpenMode openMode)
Parameters
Type | Name | Description |
---|---|---|
OpenMode | openMode | see OpenMode |
Returns
Type | Description |
---|---|
IndexWriterConfig |