jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Config change
Date Wed, 17 Aug 2005 14:02:00 GMT
Hi all,

With the resolution of jira issue JCR-189 I needed to change the 
configuration for the search index. That means if you are upgrading to a 
jackrabbit build where svn revision >= 233174 you need to adapt your config.

E.g. you might use something like the follwing now:

<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
     <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
         <param name="path" value="${wsp.home}/index"/>
     </FileSystem>
</SearchIndex>

after upgrading you should use:

<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
     <param name="path" value="${wsp.home}/index"/>
</SearchIndex>

The FileSystem element is now optional, and only needed if the 
QueryHandler implementation requires it.
When using the default QueryHandler 
(org.apache.jackrabbit.core.query.lucene.SearchIndex) the parameter 
'path' is mandatory! If the parameter is missing the repository will 
fail to start.

regards
  marcel

Mime
View raw message