[Yanel-commits] rev 43870 -
public/yanel/trunk/src/realms/from-scratch-realm-template/config
michi at wyona.com
michi at wyona.com
Sun Jul 26 18:22:39 CEST 2009
Author: michi
Date: 2009-07-26 18:22:38 +0200 (Sun, 26 Jul 2009)
New Revision: 43870
Modified:
public/yanel/trunk/src/realms/from-scratch-realm-template/config/vfs-data-repository.xml
Log:
search config updated
Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/config/vfs-data-repository.xml
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/config/vfs-data-repository.xml 2009-07-26 16:21:31 UTC (rev 43869)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/config/vfs-data-repository.xml 2009-07-26 16:22:38 UTC (rev 43870)
@@ -5,5 +5,24 @@
<content src="../data-repo/data"/>
<directory alternative="index.html" mime-type="application/xhtml+xml"/>
<meta src="../data-repo/yarep-meta"/>
- <search-index src="../data-repo/search-index"/>
+
+ <s:search-index xmlns:s="http://www.wyona.org/yarep/search/2.0" indexer-class="org.wyona.yarep.impl.search.lucene.LuceneIndexer" searcher-class="org.wyona.yarep.impl.search.lucene.LuceneSearcher">
+ <index-location file="../data-repo/search-index"/>
+ <repo-auto-index-fulltext boolean="true"/>
+ <repo-auto-index-properties boolean="true"/>
+ <lucene>
+ <!-- The element 'local-tika-config' attribute 'file' is used to patch the default tika config -->
+<!--
+ <local-tika-config file="tika-config.xml"/>
+-->
+
+ <!-- if fulltext-analyzer/class is not set it will use org.apache.lucene.analysis.standard.StandardAnalyzer-->
+ <fulltext-analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
+
+ <!-- if property-analyzer/class is not set it will use org.apache.lucene.analysis.WhitespaceAnalyzer-->
+ <property-analyzer class="org.apache.lucene.analysis.WhitespaceAnalyzer"/>
+
+ <write-lock-timeout ms="3000"/>
+ </lucene>
+ </s:search-index>
</repository>
More information about the Yanel-commits
mailing list