Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 74751 invoked from network); 18 Feb 2009 06:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 06:55:43 -0000 Received: (qmail 87336 invoked by uid 500); 18 Feb 2009 06:55:28 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 87308 invoked by uid 500); 18 Feb 2009 06:55:28 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 87294 invoked by uid 99); 18 Feb 2009 06:55:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 22:55:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 06:55:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A229234C48B for ; Tue, 17 Feb 2009 22:55:02 -0800 (PST) Message-ID: <292120797.1234940102236.JavaMail.jira@brutus> Date: Tue, 17 Feb 2009 22:55:02 -0800 (PST) From: "Shalin Shekhar Mangar (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-921) SolrResourceLoader must cache short name vs fully qualified name In-Reply-To: <2018877122.1229419484242.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar resolved SOLR-921. ---------------------------------------- Resolution: Fixed Committed revision 745394. Thanks Noble and Hoss! > SolrResourceLoader must cache short name vs fully qualified name > ---------------------------------------------------------------- > > Key: SOLR-921 > URL: https://issues.apache.org/jira/browse/SOLR-921 > Project: Solr > Issue Type: Improvement > Reporter: Noble Paul > Assignee: Shalin Shekhar Mangar > Fix For: 1.4 > > Attachments: SOLR-921.patch, SOLR-921.patch, SOLR-921.patch, SOLR-921.patch > > > 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. format we pay too much of a price for this. After every lookup the result can be cached in a static Map 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.