lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Updated] (SOLR-8621) solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
Date Mon, 08 Feb 2016 22:49:39 GMT


Shawn Heisey updated SOLR-8621:
    Attachment: explicit-merge-auto-set.patch

I just saw a commit email with some "upgrading from 5.4" changes for this issue.

The example in the doc shows a maxMergeAtOnce and segmentsPerTier value of 42 ... but this
specific example will probably not work entirely as expected, because the default value of
"maxMergeAtOnceExplicit" is 30.

With a value of 42 for the two primary settings, maxMergeAtOnceExplicit should be changed
to 126.  I cannot claim to know how everything interacts with that setting, but before I found
out about it, I had trouble with optimizes when I set the other two values to 35.  It did
not behave as it was supposed to until I set the explicit value to 105.

I wonder if perhaps the default setting of maxMergeAtOnceExplicit (if not manually configured)
should be 3 times the current value of maxMergeAtOnce, rather than hardcoded to 30.  If maxMergeAtOnceExplicit
is actually configured, then it should definitely override that default.

I've whipped up a patch.  If it looks like a good idea, then it needs its own LUCENE issue.

> solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
> -------------------------------------------------------------------------
>                 Key: SOLR-8621
>                 URL:
>             Project: Solr
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>         Attachments: SOLR-8621.patch, explicit-merge-auto-set.patch
> *<mergePolicyFactory> end-user benefits:*
> * Lucene's UpgradeIndexMergePolicy can be configured in Solr
> * (with SOLR-5730) Lucene's SortingMergePolicy can be configured in Solr
> * customisability: arbitrary merge policies including wrapping/nested merge policies
can be created and configured
> *(proposed) roadmap:*
> * solr 5.5 introduces <mergePolicyFactory> support
> * solr 5.5(\?) deprecates (but maintains) <mergePolicy> support
> * solr 6.0(\?) removes <mergePolicy> support 
> +work-in-progress git branch:+ [master-solr-8621|]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message