You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/06/17 18:00:47 UTC

[jira] [Updated] (LUCENE-3210) TieredMergePolicy should expose control over how aggressively segments with deletions are targeted

     [ https://issues.apache.org/jira/browse/LUCENE-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-3210:
---------------------------------------

    Attachment: LUCENE-3210.patch

Simple patch, adding setReclaimDeletesWeight to TMP, and defaulting it to 2.0.  I also fixed LTC.newTieredMergePolicy to randomly set this...

> TieredMergePolicy should expose control over how aggressively segments with deletions are targeted 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3210
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3210
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.3, 4.0
>
>         Attachments: LUCENE-3210.patch
>
>
> TMP today always does a linear pro-rating of a merge's score according to what pctg of the documents are deleted; I'd like to 1) put a power factor in (score is multiplicative), and 2) default it to stronger favoring of merging away deletions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org