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/10/05 06:46:54 UTC
svn commit: r294988 - /forrest/trunk/main/webapp/search.xmap
Author: crossley
Date: Tue Oct 4 21:46:50 2005
New Revision: 294988
URL: http://svn.apache.org/viewcvs?rev=294988&view=rev
Log:
Whitespace changes only.
Modified:
forrest/trunk/main/webapp/search.xmap
Modified: forrest/trunk/main/webapp/search.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/search.xmap?rev=294988&r1=294987&r2=294988&view=diff
==============================================================================
--- forrest/trunk/main/webapp/search.xmap (original)
+++ forrest/trunk/main/webapp/search.xmap Tue Oct 4 21:46:50 2005
@@ -2,13 +2,13 @@
<!--
Copyright 2002-2004 The Apache Software Foundation or its licensors,
as applicable.
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,7 +29,7 @@
Allows searching the Lucene index using the Cocoon SearchGenerator.
-Generates : Lucene lucene:index documents, search results
+Generates : Lucene lucene:index documents, search results
Example URLs: http://localhost/lucene-update.html (Index creation)
http://localhost/**.html (use the search box after setting
<search provider="lucene"/> in skinconf.xml)
@@ -45,16 +45,16 @@
<!-- Lucene search generator: Creates a hit list from a query and
an existing index. -->
<map:generators default="file">
- <map:generator name="search"
+ <map:generator name="search"
logger="sitemap.generator.searchgenerator"
src="org.apache.cocoon.generation.SearchGenerator" />
</map:generators>
<!-- Lucene index transformer: Creates a new Lucene index. -->
<map:transformers default="xslt">
- <map:transformer name="index"
- logger="sitemap.transformer.luceneindextransformer"
- src="org.apache.cocoon.transformation.LuceneIndexTransformer"/>
+ <map:transformer name="index"
+ logger="sitemap.transformer.luceneindextransformer"
+ src="org.apache.cocoon.transformation.LuceneIndexTransformer"/>
</map:transformers>
<map:readers default="resource"/>
@@ -66,7 +66,7 @@
<map:pipelines>
<map:pipeline internal-only="false">
-
+
<!-- ===== INDEX CREATION ===== -->
<!-- Creates or updates the Lucene index -->
@@ -141,7 +141,7 @@
<map:match pattern="*.lucene">
<map:generate src="cocoon:/body-{0}"/>
<map:serialize type="xml"/>
- </map:match>
+ </map:match>
<map:match pattern="**/*.lucene">
<map:generate src="cocoon:/{1}/body-{2}.lucene"/>
<map:serialize type="xml"/>