<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.2">
</HEAD>
<BODY>
On Fri, 2004-10-01 at 12:37 +0200, Hans van der Linden wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi</FONT>

<FONT COLOR="#000000">How is the lucene indexing / searching related to the multi site feature in opencms???.... For example when I use the index search</FONT>
<FONT COLOR="#000000">in de administration everyting works fine as long as I have the 'sites/default/' site selected.. When I select '/' root the search</FONT>
<FONT COLOR="#000000">results in an exception and when I select an other site the result found are always 0...</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
You need to add new index-sources to WEB-INF/config/opencms-search.xml<BR>
<BR>
    <indexsource><BR>
        <name>source1</name><BR>
                                <indexer class="org.opencms.search.CmsVfsIndexer" /><BR>
                                <resources><BR>
                                        <resource>/sites/default/</resource><BR>
                                </resources><BR>
                                <documenttypes-indexed><BR>
                        <name>xmlpage</name><BR>
                        <name>page</name><BR>
                        <name>text</name><BR>
                        <name>pdf</name><BR>
                        <name>msword</name><BR>
                        <name>msexcel</name><BR>
                        <name>image</name><BR>
                        <name>generic</name><BR>
                                </documenttypes-indexed><BR>
                        </indexsource><BR>
<BR>
Tristan
</BODY>
</HTML>