You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/05/23 13:08:09 UTC

[GitHub] [lucene] jpountz opened a new pull request, #921: LUCENE-10078: Enable merge-on-refresh by default.

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] jpountz merged pull request #921: LUCENE-10078: Enable merge-on-refresh by default.

Posted by GitBox <gi...@apache.org>.
jpountz merged PR #921:
URL: https://github.com/apache/lucene/pull/921


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] jpountz commented on pull request #921: LUCENE-10078: Enable merge-on-refresh by default.

Posted by GitBox <gi...@apache.org>.
jpountz commented on PR #921:
URL: https://github.com/apache/lucene/pull/921#issuecomment-1148717128

   Good call, I added a warning to javadocs on `IndexWriterConfig#setMaxFullFlushMergeWaitMillis`.


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org