Solr
  1. Solr
  2. SOLR-2397

main example solrconfig.xml needs cleanup before 3.1

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

      1. SOLR-2397.patch
        86 kB
        Hoss Man
      2. solrconfig.xml
        54 kB
        Hoss Man
      3. solrconfig.xml
        54 kB
        Hoss Man
      4. SOLR-2397.patch
        90 kB
        Hoss Man

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

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

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

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

          Bulk close for 3.1.0 release

          Show
          Grant Ingersoll added a comment - Bulk close for 3.1.0 release
          Hide
          Hoss Man added a comment -

          Committed revision 1075974.

          3.1 schema has been cleaned up

          Show
          Hoss Man added a comment - Committed revision 1075974. 3.1 schema has been cleaned up
          Hide
          Hoss Man added a comment -

          Committed revision 1075960. - trunk

          ...backporting to 3x now

          Show
          Hoss Man added a comment - Committed revision 1075960. - trunk ...backporting to 3x now
          Hide
          Hoss Man added a comment -

          Some more minor improvements after giving it another read through.

          Show
          Hoss Man added a comment - Some more minor improvements after giving it another read through.
          Hide
          Hoss Man 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.

          Show
          Hoss Man 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.

            People

            • Assignee:
              Hoss Man
              Reporter:
              Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development