Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2843

Streamline & add comments to our Solr configurations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Solr
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      DSpace's Solr configurations are an absolute mess (yes, I said it). They need to be cleaned up & explanatory comments need to be added as to how/why we are using particular fields or settings.

      The "solrconfig.xml" and "schema.xml" files for each of the cores include a ton of example configurations. Sometimes these configurations are commented out (and just take up unneeded space) and other times they are left there for no apparent reason.

      The messiness of our configs and lack of useful comments make it extremely difficult to locate issues/bugs in the Solr configuration/schema.

      Here's some examples of absolutely unnecessary settings / default settings that serve no purpose:

      Essentially, our schema.xml files seem to be copies of the "example" schema and we failed to remove much of the stuff we don't use:
      http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_9/solr/example/solr/collection1/conf/schema.xml?view=markup

      Similarly, our solrconfig.xml files are copies of the example solrconfig.xml and feature a ton of commented out, unused fields:
      http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_9/solr/example/solr/collection1/conf/solrconfig.xml?view=markup

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tdonohue Tim Donohue
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: