Did you tried below options
0.0
10.0
This is from java doc
/** When forceMergeDeletes is called, we only merge away a
* segment if its delete percentage is over this
* threshold. Default is 10%. */
public TieredMergePolicy setForceMergeDeletesPctAllowed(double
Sounds reasonable although I admit I haven't looked deeply.
Erick
On Fri, Oct 12, 2012 at 3:41 PM, Shawn Heisey wrote:
> 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
>> *
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 Tie
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 t
On 10/11/2012 2:02 PM, Shawn Heisey wrote:
UpdateResponse ur = server.optimize(true, true, 20);
What happens with this if I am already below 20 segments? Will it
still expunge all of my (typically several thousand) deleted
documents? I am hoping that what it will do is rebuild any segment
th