You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Marcel Reutegger <ma...@gmx.net> on 2005/08/17 16:02:00 UTC

Config change

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