On 6/22/2021 5:02 PM, Stephen Lewis Bianamara wrote:
The merging considerations are certainly interesting and naunced. Has there been any investigation into a "minimum number of segments" setting which could force a minimum number of segments (say 5 or 10) so that no one segment operation could involve the entire index?
Since Solr 7.5, the merge defaults are a lot better. I think the "no segment larger than 5GB" setting even applies to optimize, but I'm not completely positive. Erick Erickson is familiar with the nitty gritty details on that.
If you never run an optimize, you should be fine. And since you go with the A/B option for reindexing, you might not ever run into the 3x requirement. But if you're dealing with bare metal servers, disks are cheap, so it's a good idea to have LOTS of free space. If you're going AWS or some other cloud solution, you'll probably want to be more aware of realistic requirements.
Thanks, Shawn
