Solr
  1. Solr
  2. SOLR-1052

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

      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

          Grant Ingersoll created issue -
          Jan Høydahl made changes -
          Field Original Value New Value
          Labels solrconfig.xml
          Fix Version/s 3.6 [ 12319065 ]
          Fix Version/s 4.0 [ 12314992 ]
          Jan Høydahl made changes -
          Attachment SOLR-1052-3x.patch [ 12512067 ]
          Jan Høydahl made changes -
          Assignee Jan Høydahl [ janhoy ]
          Jan Høydahl made changes -
          Attachment SOLR-1052-3x.patch [ 12513037 ]
          Jan Høydahl made changes -
          Attachment SOLR-1052-3x.patch [ 12516334 ]
          Jan Høydahl made changes -
          Link This issue incorporates SOLR-3093 [ SOLR-3093 ]
          Jan Høydahl made changes -
          Link This issue incorporates SOLR-3093 [ SOLR-3093 ]
          Jan Høydahl made changes -
          Link This issue relates to SOLR-3093 [ SOLR-3093 ]
          Jan Høydahl made changes -
          Attachment SOLR-1052-3x.patch [ 12518170 ]
          Jan Høydahl made changes -
          Summary Deprecate/Remove <indexDefaults> in favor of <mainIndex> in solrconfig.xml Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml
          Priority Minor [ 4 ] Major [ 3 ]
          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/remove the use of indexDefaults and just rely on mainIndex, as it doesn't seem to serve any purpose and is confusing to explain.
          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
          Robert Muir made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Jan Høydahl made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Jan Høydahl made changes -
          Attachment SOLR-1052-3x-fix-tests.patch [ 12520583 ]
          Jan Høydahl made changes -
          Attachment SOLR-1052.patch [ 12520640 ]
          Jan Høydahl made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hoss Man made changes -
          Link This issue is related to SOLR-7815 [ SOLR-7815 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development