Author: crossley
Date: Mon Jan 31 17:27:47 2005
New Revision: 149353

URL: http://svn.apache.org/viewcvs?view=rev&rev=149353
Log:
Add missing cocoon.xconf entry for LuceneCocoonSearcher role.
Copied from cocoon-trunk/src/blocks/lucene/WEB-INF/xconf/cocoon-lucene.xconf
Submitted by: Florian G. Haas
Issue: FOR-431 "Could not find component for role" when using Lucene search

Modified:
    forrest/branches/forrest_06_branch/src/core/context/WEB-INF/cocoon.xconf

Modified: 
forrest/branches/forrest_06_branch/src/core/context/WEB-INF/cocoon.xconf
URL: 
http://svn.apache.org/viewcvs/forrest/branches/forrest_06_branch/src/core/context/WEB-INF/cocoon.xconf?view=diff&r1=149352&r2=149353
==============================================================================
--- forrest/branches/forrest_06_branch/src/core/context/WEB-INF/cocoon.xconf 
(original)
+++ forrest/branches/forrest_06_branch/src/core/context/WEB-INF/cocoon.xconf 
Mon Jan 31 17:27:47 2005
@@ -713,6 +713,23 @@
     -->
  </component>
 
+<!-- ========== Components used for Lucene-based searching ========== -->
+
+ <!-- Include roles -->
+ <include src="resource://org/apache/cocoon/components/search/lucene.roles"/>
+
+ <!-- Search:
+   These are the components that handle the search. 
+   
+   Cocoon indexer writes into an index.
+   Cocoon searcher reads from an index, returning matched hits.
+   Cocoon crawler crawls all links starting from a given base URI.
+   Lucene xml indexer builds a lucene document from XML content.
+  -->
+ <cocoon-indexer     logger="core.search.indexer"/>
+ <cocoon-searcher    logger="core.search.searcher"/>  
+ <cocoon-crawler     logger="core.search.crawler"/>
+ <lucene-xml-indexer logger="core.search.lucene"/>
 
   <!-- Profiler:
     The profiler facilitates the gathering of statistics about timings of


Reply via email to