On 30 March 2016 at 17:46, Erick Erickson <erickerick...@gmail.com> wrote: > through a clever bit of reflection, you can set the > reclaimDeletesWeight variable from solrconfig by including something > like > <double name="reclaimDeletesWeight">5</double> (going from memory > here, you'll get an error on startup if I've messed it up.....)
I added the following to my solrconfig a couple of days ago: <mergePolicy class="org.apache.lucene.index.TieredMergePolicy"> <int name="maxMergeAtOnce">8</int> <int name="segmentsPerTier">8</int> <double name="reclaimDeletesWeight">5.0</double> </mergePolicy> There has been several commits and the core is current according to SOLR admin, however I'm still seeing a lot of deleted docs. These are my current core statistics. Last Modified:4 minutes ago Num Docs:1 675 255 Max Doc:2 353 476 Heap Memory Usage:208 464 267 Deleted Docs:678 221 Version:1 870 539 Segment Count:39 Index size is close to 149GB. So at the moment, I'm seeing a deleted docs to max docs percentage ratio of 28.81%. With 'reclaimsWeight' set to 5, it doesn't seem to be deleting away any deleted docs. Anything obvious I'm missing? -- Yours sincerely Jostein Elvaker Haande "A free society is a society where it is safe to be unpopular" - Adlai Stevenson http://tolecnal.net -- tolecnal at tolecnal dot net