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

Move the lang-configurations from managed-schema to its own xml file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Half of the current managed-schema includes lot of configuration that is un-used by many people and is somewhat painful to remove.

      This includes the files present in the lang folder mostly - around 500 lines out of the 1000-line file are configuring so many different languages and other stuff in lang folder that is never used.

      It might be good to consider splitting the managed-schema file into two:

      1. managed-schema: Everything but the lang folder config
      2. dependency-schema: lang folder config and other things that relate to other files.

      If dependency-schema is absent, Solr will just assume that it is not required.

      1. This makes it easy to get rid of the extra config and ~100 files that are not required to be stored in zookeeper.
      2. The managed-schema file becomes easier to look at.

      Performance: This should also reduce a lot of pressure on zookeeper because with all those un-necessary files gone, no replica will download them ever

      Attachments

        Issue Links

          Activity

            People

              varun Varun Thacker
              sachingoyal Sachin Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: