lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <>
Subject [jira] [Commented] (SOLR-8621) solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
Date Fri, 29 Jan 2016 16:12:39 GMT


Christine Poerschke commented on SOLR-8621:

bq. Is this simply a rename of the XML element name (from <mergePolicy> to <mergePolicyFactory>)
or is there some other user-visible feature enhancement or change?

Good question. This is more-or-less-but-not-quite a simple rename (see illustration below).
The end-user benefit of the change is to make policies such as Lucene's UpgradeIndexMergePolicy
configurable in Solr (see illustration above). The <mergePolicyFactory> element will
also encompass all merge policy related parameters whereas currently <mergeFactor> and
<maxMergeDocs> elements (applicable for some but not all merge policies) can be 'alongside'
the <mergePolicy> element.

<mergePolicy class="..." />
  <str name="abc">def</str>

<mergePolicyFactory class="...Factory">
  <int name="mergeFactor">12</int>
  <int name="maxMergeDocs">345</int>
  <str name="abc">def</str>

> solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
> -------------------------------------------------------------------------
>                 Key: SOLR-8621
>                 URL:
>             Project: Solr
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
> *<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
> *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