On 10/12/2012 6:04 AM, Erick Erickson wrote:
Hmmm, I dug around in the code and found this bit:
* Forces merging of all segments that have deleted
* documents. The actual merges to be executed are
* determined by the {@link MergePolicy}. For example,
* the default {@link TieredMergePolicy} will only
* pick a segment if the percentage of
* deleted docs is over 10%.
see IndexWriter.forceMergeDeletes. So perhaps this limit
was never hit?
My own digging based on yours turned up this:
https://issues.apache.org/jira/browse/SOLR-2725
This sounds like there is currently no way to change this in the Solr
config, so it looks like my choices right now are to make a source code
change and respin the Solr 3.5.0 that I'm using or just continue to use
optimize with no options until SOLR-2725 gets resolved and I can
upgrade. Is that right?
Thanks,
Shawn