lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1444) Add option in solrconfig.xml to override the LogMergePolicy "calibrateSizeByDeletes"
Date Fri, 18 Sep 2009 03:09:57 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756929#action_12756929
] 

Noble Paul commented on SOLR-1444:
----------------------------------

What should be the configuration?
{code:xml} 
<mergePolicy calibrateSizeByDeletes = "false">org.apache.lucene.index.LogByteSizeMergePolicy</mergePolicy>

{code} 

should we move to a more consistent configuration such as 
{code:xml} 
<mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy" calibrateSizeByDeletes
= "false"/> 
{code} 


> Add option in solrconfig.xml to override the LogMergePolicy "calibrateSizeByDeletes"
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-1444
>                 URL: https://issues.apache.org/jira/browse/SOLR-1444
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 1.4
>         Environment: NA
>            Reporter: Jibo John
>            Priority: Minor
>
> A patch was committed in lucene  (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.
> By default, calibrateSizeByDeletes = false in LogMergePolicy. So, currently, there is
no way in Solr to set calibrateSizeByDeletes = true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message