churromorales commented on PR #15620: URL: https://github.com/apache/lucene/pull/15620#issuecomment-3886562504
@benwtrent good quesiton, logbytesize merges adjacent segments, but we have no control over which adjacent segments are merged, or more importantly when to stop merging. The primary benefit of this feature is at query time, what segments can be skipped based on your query pattern. For example we have a set of queries that have a default 90 day look-back window, and another set that have a default 3 year look-back window. I can't think of how you could optimize segment pruning with LogMergePolicy to handle this case. LogByteSizedMergePolicy doesn't care about time-boundaries. If you know your query pattern up front, then you can set time-windows thus you never merge across these windows, so you keep these time-ranges disjoint. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
