<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; CHARSET=UTF-8">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff
size=2>Tristan,</FONT></SPAN></DIV>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff size=2>Thanks
for the response but this is something i did.. Did you ever try the search in
the administration with multiple sites ?</FONT></SPAN></DIV>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff
size=2>Hans</FONT></SPAN></DIV>
<DIV><SPAN class=629040312-01102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Oorspronkelijk bericht-----<BR><B>Van:</B>
opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org]<B>Namens </B>Tristan
Tarrant<BR><B>Verzonden:</B> vrijdag 1 oktober 2004 13:52<BR><B>Aan:</B>
OpenCMS<BR><B>Onderwerp:</B> Re: [opencms-dev] Alpha 1 lucene and multi
site<BR><BR></FONT></DIV>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 </BLOCKQUOTE></BODY></HTML>