You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/02/26 19:02:18 UTC

[jira] [Resolved] (SOLR-8734) fix deprecation warnings for absent (maxMergeDocs|mergeFactor)

     [ https://issues.apache.org/jira/browse/SOLR-8734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke resolved SOLR-8734.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.5.1
                   6.0
                   master

Thanks Markus for noticing and reporting this!

> fix deprecation warnings for absent (maxMergeDocs|mergeFactor)
> --------------------------------------------------------------
>
>                 Key: SOLR-8734
>                 URL: https://issues.apache.org/jira/browse/SOLR-8734
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.5, master
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>             Fix For: master, 6.0, 5.5.1
>
>         Attachments: SOLR-8734.patch, SOLR-8734.patch
>
>
> [~markus17] wrote on the solr-user mailing list:
> bq. 5.5.0 SOLR-8621 deprecation warnings without maxMergeDocs or mergeFactor
> ...
> bq. o.a.s.c.Config Beginning with Solr 5.5, <maxMergeDocs> is deprecated, configure it on the relevant <mergePolicyFactory> instead.
> ...
> bq. On my development machine for all cores. None of the cores has either parameter configured. Is this expected?
> ...
> [~cpoerschke] replied:
> ...
> bq. Could you advise if/that the solrconfig.xml has a <mergePolicy> element (for which deprecated warnings would appear separately) or that the solrconfig.xml has no <mergePolicyFactory> element?
> ...
> bq. If either is the case then yes based on the code (SolrIndexConfig.java#L153) the warnings would be expected-and-harmless though admittedly are confusing, and fixable.
> ...



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