Closed chriseldredge closed 9 years ago
This is currently possible by subclassing LuceneDataProvider and overriding GetIndexWriter.
Perhaps adding some more properties to LuceneDataProviderSettings would be a good approach.
Commit 67b93d96e4818e7401eb643e59088b3ca6f40701
The default configuration of the underlying IndexWriter is difficult to customize when allowing Lucene.Net.Linq to instantiate IndexWriter upon first usage. This leads to some undesired performance results with regards to how and when index segments are merged. For clients that want better control of these policies, Lucene.Net.Linq should make it easier to select a merge policy implementation and related settings like MergeFactor, MinMergeMB, MaxMergeMB, etc.
This would allow clients to prevent too many deleted documents from accumulating.
See #72 for origin of this issue.