Hello,
Came across a lucene patch (http://issues.apache.org/jira/browse/LUCENE-1634
) that would consider the number of deleted documents as the criteria
when deciding which segments to merge.
Since we expect to have very frequent deletes, we hope this would help
reclaim the space consumed by the deleted documents in a much more
efficient way.
Currently, we can specify a mergepolicy in solrconfig.xml like this:
<!--<mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy</
mergePolicy>-->
However, by default, calibrateSizeByDeletes = false in LogMergePolicy.
I was wondering if there is a way I can modify calibrateSizeByDeletes
just by configuration ?
Thanks,
-Jibo