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

Cache and reuse IndexSchema

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      if there are 1000's of cores then the cost of loading unloading schema.xml can be prohibitive
      similar to SOLR-919 we can also cache the DOM object of schema.xml if the location on disk is same. All the dynamic properties can be replaced lazily when they are read.

      We can go one step ahead in this case. Th IndexSchema object is immutable . So if there are no core properties then the same IndexSchema object can be used across all the cores

      Attachments

        1. SOLR-920.patch
          2 kB
          Noble Paul
        2. SOLR-920.patch
          1 kB
          Noble Paul
        3. SOLR-920.patch
          1 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: