You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/02/01 01:38:47 UTC

svn commit: r149333 - forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf

Author: crossley
Date: Mon Jan 31 16:38:46 2005
New Revision: 149333

URL: http://svn.apache.org/viewcvs?view=rev&rev=149333
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/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf

Modified: forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf?view=diff&r1=149332&r2=149333
==============================================================================
--- forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf (original)
+++ forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf Mon Jan 31 16:38:46 2005
@@ -695,4 +695,22 @@
     -->
  </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"/>
+
 </components>