lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1580) Solr Configuration ignores 'mergeFactor' parameter, always uses Lucene default
Date Fri, 20 Nov 2009 05:47:40 GMT

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

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

So the workaround is to use the functionality of SOLR-1447 :)

    <mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy">
      <int name="mergeFactor">3</int>
    </mergePolicy>

Possibly why it was taken out? But the example config was not updated to reflect, so who knows
I guess.

> 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.


Mime
View raw message