Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface merge policy and related settings #74

Closed
chriseldredge opened this issue Nov 17, 2014 · 3 comments
Closed

Surface merge policy and related settings #74

chriseldredge opened this issue Nov 17, 2014 · 3 comments

Comments

@chriseldredge
Copy link
Owner

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.

@chriseldredge
Copy link
Owner Author

This is currently possible by subclassing LuceneDataProvider and overriding GetIndexWriter.

Perhaps adding some more properties to LuceneDataProviderSettings would be a good approach.

@chriseldredge
Copy link
Owner Author

Commit 67b93d9

@chriseldredge
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant