Author: gregor
Date: Sat Jun 25 12:20:06 2005
New Revision: 201783
URL: http://svn.apache.org/viewcvs?rev=201783&view=rev
Log:
Added search usecase to default publication. Thanks to Paul Ercolino, this
makes searching work out of the box on Windows for the first time.
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/search/lucene-live.xconf
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/search/lucene-live.xconf
URL:
http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/search/lucene-live.xconf?rev=201783&r1=201782&r2=201783&view=diff
==============================================================================
---
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/search/lucene-live.xconf
(original)
+++
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/search/lucene-live.xconf
Sat Jun 25 12:20:06 2005
@@ -1,30 +1,10 @@
<?xml version="1.0"?>
-<!--
- Copyright 1999-2004 The Apache Software Foundation
-
- 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.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<!-- $Id: lucene-live.xconf,v 1.2 2004/03/13 12:34:18 gregor Exp $ -->
-
<lucene>
- <update-index type="new"/>
-<!--
- <update-index type="incremental"/>
--->
-
- <index-dir src="../../work/search/lucene/index/live/index"/>
- <htdocs-dump-dir src="../../work/search/lucene/htdocs_dump/live"/>
-
- <indexer class="org.apache.lenya.lucene.index.DefaultIndexer"/>
-</lucene>
+<update-index type="new"/>
+<index-dir src="../../work/search/lucene/index/live/index"/>
+<htdocs-dump-dir src="../../content/live"/>
+<indexer class="org.apache.lenya.lucene.index.ConfigurableIndexer">
+<configuration src="lenyadocs.xconf"/>
+<extensions src="xml"/>
+</indexer>
+</lucene>
\ No newline at end of file
|