Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8734

fix deprecation warnings for absent (maxMergeDocs|mergeFactor)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5, 6.0
    • Fix Version/s: 5.5.1, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Markus Jelsma wrote on the solr-user mailing list:

      5.5.0 SOLR-8621 deprecation warnings without maxMergeDocs or mergeFactor

      ...

      o.a.s.c.Config Beginning with Solr 5.5, <maxMergeDocs> is deprecated, configure it on the relevant <mergePolicyFactory> instead.

      ...

      On my development machine for all cores. None of the cores has either parameter configured. Is this expected?

      ...

      Christine Poerschke replied:
      ...

      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?

      ...

      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.

      ...

        Attachments

        1. SOLR-8734.patch
          3 kB
          Christine Poerschke
        2. SOLR-8734.patch
          3 kB
          Christine Poerschke

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                cpoerschke Christine Poerschke
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: