Note that there are some explanatory texts on larger screens.

plurals
  1. POInformations about TieredMergePolicy
    primarykey
    data
    text
    <p>I would like to well understand Solr merge behaviour. I did some researches on the different merge policies. And it seems that the TieredMergePolicy is better than old merge policies (LogByteSizeMergePolicy, etc ...). That's why I use this one and that's the default policy on last solr versions.</p> <p>First, I give you some interesting links that I've read to have a better idea of merge process : <a href="http://java.dzone.com/news/merge-policy-internals-solr" rel="nofollow">http://java.dzone.com/news/merge-policy-internals-solr</a> <a href="http://blog.mikemccandless.com/2011/02/visualizing-lucenes-segment-merges.html" rel="nofollow">http://blog.mikemccandless.com/2011/02/visualizing-lucenes-segment-merges.html</a></p> <p>According to the official documentation of Lucene, I would like to ask several questions on it : <a href="http://lucene.apache.org/core/3_2_0/api/all/org/apache/lucene/index/TieredMergePolicy.html" rel="nofollow">http://lucene.apache.org/core/3_2_0/api/all/org/apache/lucene/index/TieredMergePolicy.html</a></p> <p><b>Questions</b></p> <p>1- In the official documentation, there is one method called setExpungeDeletesPctAllowed(double v). And in the Solr 4.3.0, I have checked in the TieredMergePolicy class and I didn't find this method. There is another method that look like this one, called : setForceMergeDeletesPctAllowed(double v). Is there any differences between both methods ? </p> <p>2- Are both methods above called only when you do a ExpungeDelete and an optimization or Are they called when a normal merge.</p> <p>3- I've read that merges beetween segments are done according a pro-rata of deleted documents percentage on a segment. By default, this percentage is set to 10%. Does it possible to set this value to 0% to be sure that there is no more deleted documents in the index after merging ?</p> <p>I need to reduce the size of my index without call optimize() method if it's possible. That's why any informations about merge process would be interesting for me.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload