[
https://issues.apache.org/jira/browse/SOLR-8621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123381#comment-15123381
]
ASF subversion and git services commented on SOLR-8621:
-------------------------------------------------------
Commit 3c4929e8efa041d53117e6f3669485d96839c98d in lucene-solr's branch
refs/heads/master-solr-8621 from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3c4929e ]
[outline] SOLR-8621: solrconfig.xml: deprecate/replace <mergePolicy> with
<mergePolicyFactory>
*outline summary:*
subtleties:
* We currently have mergeFactor and maxMergeDocs elements alongside the
mergePolicy element. The mergeFactor/maxMergeDocs/mergePolicy elements will be
deprecated together i.e. mergePolicyFactory will ignore mergeFactor and
maxMergeDocs. (Note that maxMergeDocs only applies to LogMergePolicy policies,
and that mergeFactor only applies to LogMergePolicy and TieredMergePolicy
policies.)
* We currently have SolrIndexConfig.fixUseCFMergePolicyInitArg to account for
any <useCompoundFile> in <mergePolicy> (since ?.? <useCompoundFile> is directly
specified in <indexConfig>). For the <mergePolicyFactory> element no such
accommodations would be made.
independent:
* some invokeSetter functionality from solr/util/SolrPluginUtils factored out
into lucene/util/LucenePluginUtils (SolrPluginUtilsTest would need similar
factoring out)
lucene:
* new classes (but no tests for them as yet) in
lucene/core/src/java/org/apache/lucene/index
** MergePolicyFactory[Helper|Args]
** (Simple|Wrapper)MergePolicyFactory
** (Tiered|UpgradeIndex)MergePolicyFactory (additional factories needed e.g.
for NoMergePolicy and LogMergePolicy)
solr:
* SolrIndexConfig.java changes to add <mergePolicyFactory> support and
deprecate (but maintain) <mergePolicy> element support
* solrconfig-tieredmergepolicy.xml added based on
solrconfig-tieredmergepolicy.xml with tests randomly choosing one or the other
(similar would be needed for other test solrconfig.xml files)
other:
* example and documentation changes - TODO
> 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
>
> *<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
> *ticket todos*
> * add <mergePolicyFactory> examples to this ticket
> * work-in-progress git branch off master - to be created (Christine)
> * Solr Reference Guide update (at/towards the very end i.e. master and
> branch_5x commits)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]