You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I've touched on it in several existing examples, I don't think I've written anything focused on Lucene's segmented architecture.
I think a rough outline would be something like:
Add some documents, open reader -- how many segments? 1.
Add some more documents, open reader -- now we have 2 segments.
How do deletes work? Delete a doc or two from segment 1. Reopen reader (applying deletes). You should still see 2 segments, but now the first segment has a live docs file associated with the current commit generation.
Updating documents? Delete document from an old segment and add it in a new segment.
Merging - Create a manual MergeSpecification with a couple of OneMerges. Maybe one of them merges two segments while another does a singleton merge to expunge deletes.
Merge policies - Explain how merges are usually managed by merge policy, maybe with a brief explanation of TieredMergePolicy.
The text was updated successfully, but these errors were encountered:
While I've touched on it in several existing examples, I don't think I've written anything focused on Lucene's segmented architecture.
I think a rough outline would be something like:
TieredMergePolicy
.The text was updated successfully, but these errors were encountered: