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

Mark Miller commented on SOLR-1580:
-----------------------------------

Looks like this was dropped a commit or two ago:

r817650 SOLR-1447

Should prob just be reverted to what it was - not sure we need to try and cap 
it and it needs the LogMergePolicy check. Though the >0 check makes a bit more 
sense to me than != -1.

     if (config.mergeFactor != -1 && getMergePolicy() instanceof 
LogMergePolicy) {
        setMergeFactor(config.mergeFactor);
      }

> Solr Configuration ignores 'mergeFactor' parameter, always uses Lucene default
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-1580
>                 URL: https://issues.apache.org/jira/browse/SOLR-1580
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.4
>            Reporter: Lance Norskog
>            Priority: Critical
>             Fix For: 1.5
>
>         Attachments: SOLR-1580.patch
>
>
> The 'mergeFactor' parameter in solrconfig.xml  is parsed by SolrIndexConfig 
> but is not consulted by SolrIndexWriter. This parameter controls the number 
> of segments that are merged at once and also controls the total number of 
> segments allowed to accumulate in the index.
> [IndexWriter.mergeFactor|http://lucene.apache.org/java/2_9_1/api/all/org/apache/lucene/index/IndexWriter.html#getMergeFactor()]

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

Reply via email to