[ https://issues.apache.org/jira/browse/SOLR-8621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/SOLR-8621
> 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|https://github.com/apache/lucene-solr/tree/master-solr-8621]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|