jpountz opened a new pull request, #921: URL: https://github.com/apache/lucene/pull/921
This gives implementations of `findFullFlushMerges` to `LogMergePolicy` and `TieredMergePolicy` and enables merge-on-refresh with a default timeout of 500ms. The idea behind the 500ms default is that it felt both high-enough to have time to run merges of small segments, and low enough that the freshness of the data wouldn't look badly affected for users who have high refresh rates (e.g. refreshing every second). For `findFullFlushMerges`, `LogMergePolicy` looks at tail segments to see if it can find at least `mergeFactor` flush segments below the min segment size, and `TieredMergePolicy` looks for a merge that has at least `segmentsPerTier` segments where the largest segment of the merge is a flush segment and below the floor size. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org