From 1b69ba9a4c4342b27eccc8d0ae6b5edc26910610 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Thu, 14 Aug 2008 06:50:48 +0000 Subject: [PATCH] 1. Adding handler.component to package list in SolrResourceLoader 2. Changing solrconfig.xml to use short names for SearchHandler and all components git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@685786 13f79535-47bb-0310-9956-ffa450edef68 --- example/solr/conf/solrconfig.xml | 12 +++++------- .../org/apache/solr/core/SolrResourceLoader.java | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml index eee50e08c2e..b517b2bf047 100755 --- a/example/solr/conf/solrconfig.xml +++ b/example/solr/conf/solrconfig.xml @@ -503,7 +503,7 @@ - + textSpell @@ -531,9 +531,7 @@ - - - + false @@ -571,7 +569,7 @@ --> - + explicit @@ -599,13 +597,13 @@ --> - + string elevate.xml - + explicit diff --git a/src/java/org/apache/solr/core/SolrResourceLoader.java b/src/java/org/apache/solr/core/SolrResourceLoader.java index ce900b1ce90..eaf6b60c8cb 100644 --- a/src/java/org/apache/solr/core/SolrResourceLoader.java +++ b/src/java/org/apache/solr/core/SolrResourceLoader.java @@ -61,7 +61,7 @@ public class SolrResourceLoader implements ResourceLoader static final String project = "solr"; static final String base = "org.apache" + "." + project; - static final String[] packages = {"","analysis.","schema.","handler.","search.","update.","core.","request.","update.processor.","util.", "spelling."}; + static final String[] packages = {"","analysis.","schema.","handler.","search.","update.","core.","request.","update.processor.","util.", "spelling.", "handler.component."}; private final ClassLoader classLoader; private final String instanceDir;