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

Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:

      Description

      Given that we now handle multiple cores via the solr.xml and the discussion around <indexDefaults> and <mainIndex> at http://www.lucidimagination.com/search/p:solr?q=mainIndex+vs.+indexDefaults

      We should deprecate old <indexDefaults> and <mainIndex> sections and only use a new <indexConfig> section.

      3.6: Deprecation warning if old section used
      4.0: If LuceneMatchVersion before LUCENE_40 then warn (so old configs will work), else fail fast

        Attachments

        1. SOLR-1052-3x.patch
          11 kB
          Jan Høydahl
        2. SOLR-1052-3x.patch
          15 kB
          Jan Høydahl
        3. SOLR-1052-3x.patch
          34 kB
          Jan Høydahl
        4. SOLR-1052-3x.patch
          35 kB
          Jan Høydahl
        5. SOLR-1052-3x-fix-tests.patch
          6 kB
          Jan Høydahl
        6. SOLR-1052.patch
          132 kB
          Jan Høydahl

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                gsingers Grant Ingersoll
              • Votes:
                5 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: