chatman commented on issue #15296: URL: https://github.com/apache/lucene/issues/15296#issuecomment-3383133498
> That limit prevents new (aka "flushed") segments from being larger than 2GB. It doesn't prevent larger segments (via merges). That limit is governed by setMaxMergedSegmentMB (default is 5GB; consider raising this). During bulk ingestion of vectors, if someone is not in a memory constrained environment, it is better to flush larger segments (>2GB) than creating several small segments and merging them up to become large segments. As an example, 1M documents with a 2048 dimension vector, would take up 8GB. It is arguably more efficient to write this segment at once than creating several smaller segments and merging them up to become a 8GB segment. -- 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]
