LogMergePolicy knob del_docs_percentage_before_merge (#1238)

Add a knob to LogMergePolicy to always merge segments that exceed a threshold of deleted docs

Closes #115
This commit is contained in:
Shikhar Bhushan
2021-12-19 23:14:56 -05:00
committed by GitHub
parent b2da82f151
commit e5e252cbc0
4 changed files with 95 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ Tantivy 0.17
- Bugfix that could in theory impact durability in theory on some filesystems [#1224](https://github.com/quickwit-inc/tantivy/issues/1224)
- Reduce the number of fsync calls [#1225](https://github.com/quickwit-inc/tantivy/issues/1225)
- Schema now offers not indexing fieldnorms (@lpouget) [#922](https://github.com/quickwit-inc/tantivy/issues/922)
- LogMergePolicy now triggers merges if the ratio of deleted documents reaches a threshold (@shikhar) [#115](https://github.com/quickwit-inc/tantivy/issues/115)
Tantivy 0.16.2
================================