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

main example solrconfig.xml needs cleanup before 3.1

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • None
    • None

    Description

      the main solconfig.xml example file has gotten cluttered, doesn't use consistent indenting, lists various things in a haphazard order, and contains relics of outdated/deprecated plugins/terminology. this really needs to be dealt with prior to 3.1 since most people reuse this example as the basis for their own configs.

      rather then trying to opening individual issues for little one off changes (which is how a lot of the haphazard came about) i'm going to take a stab at one big cleanup here and seek feedback on the end result

      Attachments

        1. SOLR-2397.patch
          86 kB
          Chris M. Hostetter
        2. solrconfig.xml
          54 kB
          Chris M. Hostetter
        3. solrconfig.xml
          54 kB
          Chris M. Hostetter
        4. SOLR-2397.patch
          90 kB
          Chris M. Hostetter

        Issue Links

          Activity

            patch against trunk to do all of hte cleanup i think we should do.

            for readability, i've also attached the finished solrconfig.xml

            the main change here is reformatting all of hte xml and comments to have standard indenting, and reformating all the comments to use standard line length.

            i also re-organized things so all request handlers are listed together (and all update handlers are listed together within that list) the only exception is hte one off handlers declared just to show off an individual search component – those i left next to the component.

            i also enhanced the comments where i thought they made sense.

            hossman Chris M. Hostetter added a comment - patch against trunk to do all of hte cleanup i think we should do. for readability, i've also attached the finished solrconfig.xml the main change here is reformatting all of hte xml and comments to have standard indenting, and reformating all the comments to use standard line length. i also re-organized things so all request handlers are listed together (and all update handlers are listed together within that list) the only exception is hte one off handlers declared just to show off an individual search component – those i left next to the component. i also enhanced the comments where i thought they made sense.

            Some more minor improvements after giving it another read through.

            hossman Chris M. Hostetter added a comment - Some more minor improvements after giving it another read through.

            Committed revision 1075960. - trunk

            ...backporting to 3x now

            hossman Chris M. Hostetter added a comment - Committed revision 1075960. - trunk ...backporting to 3x now

            Committed revision 1075974.

            3.1 schema has been cleaned up

            hossman Chris M. Hostetter added a comment - Committed revision 1075974. 3.1 schema has been cleaned up

            Bulk close for 3.1.0 release

            gsingers Grant Ingersoll added a comment - Bulk close for 3.1.0 release

            Commit 1527150 from dsmiley in branch 'dev/trunk'
            [ https://svn.apache.org/r1527150 ]

            SOLR-5005: remove accidental inclusion of JavaScriptRequestHandler in r1075960 (SOLR-2397)

            jira-bot ASF subversion and git services added a comment - Commit 1527150 from dsmiley in branch 'dev/trunk' [ https://svn.apache.org/r1527150 ] SOLR-5005 : remove accidental inclusion of JavaScriptRequestHandler in r1075960 ( SOLR-2397 )

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: