Sorry, I didn't word my original message very well. The situation is we have a larger max segment size currently configured (let's say 10GB) and we want to update the config to reduce the max segment size (let's say 5GB). Will we need to reindex for that reduction to take effect? I have only seen code/explanations around merging (i.e. Joining two segments into larger segments) but never anything about segment splitting (which I imagine doesn't happen?)
From: users@solr.apache.org At: 12/09/24 12:22:38 UTC-5:00To: users@solr.apache.org Subject: Re: Merge Policy Max Segment Size + Reindexing As far as I know it does not require reindexing. But not sure if there is no NRT is happening will the above take effect . It is good to read. https://blog.mikemccandless.com/2011/02/visualizing-lucenes-segment-merges.html Thanks, Ramesh On Mon, Dec 9, 2024 at 11:57 AM Kevin Liang (BLOOMBERG/ 919 3RD A) < klian...@bloomberg.net> wrote: > Hello, > > We've configured a merge policy factory such that max segment size is > greater than the default. If we update the configuration and restart the > cloud, will the lucene segments automatically be split to meet the smaller > max segment size? Or will this require a full reindex of the data? > > -Kevin Liang -- Thanks, Ramesh