Solr
  1. Solr
  2. SOLR-921

SolrResourceLoader must cache short name vs fully qualified name

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      every class that is loaded through SolrResourceLoader does a Class.forName() and when if it is not found a ClassNotFoundExcepton is thrown

      Then , it looks up with the various packages and finds the right class if the name starts with solr. Considering the fact that we usually use this solr.<classname> format we pay too much of a price for this. After every lookup the result can be cached in a static Map<String, String> with short name as keys and fully qualified name as values and can be shared across all the cores and this Map can be stored at the CoreContainer level.

      1. SOLR-921.patch
        3 kB
        Noble Paul
      2. SOLR-921.patch
        3 kB
        Noble Paul
      3. SOLR-921.patch
        3 kB
        Noble Paul
      4. SOLR-921.patch
        3 kB
        Noble Paul

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Shalin Shekhar Mangar
              Reporter:
              Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development