[opencms-dev] Alpha 1 lucene and multi site

Hans van der Linden hans at iblinden.nl
Fri Oct 1 14:04:41 CEST 2004


Tristan,

Thanks for the response but this is something i did.. Did you ever try the search in the administration with multiple sites ?

Hans

  -----Oorspronkelijk bericht-----
  Van: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]Namens Tristan Tarrant
  Verzonden: vrijdag 1 oktober 2004 13:52
  Aan: OpenCMS
  Onderwerp: Re: [opencms-dev] Alpha 1 lucene and multi site


  On Fri, 2004-10-01 at 12:37 +0200, Hans van der Linden wrote: 
Hi

How is the lucene indexing / searching related to the multi site feature in opencms???.... For example when I use the index search
in de administration everyting works fine as long as I have the 'sites/default/' site selected.. When I select '/' root the search
results in an exception and when I select an other site the result found are always 0...

  You need to add new index-sources to WEB-INF/config/opencms-search.xml

      <indexsource>
          <name>source1</name>
                                  <indexer class="org.opencms.search.CmsVfsIndexer" />
                                  <resources>
                                          <resource>/sites/default/</resource>
                                  </resources>
                                  <documenttypes-indexed>
                          <name>xmlpage</name>
                          <name>page</name>
                          <name>text</name>
                          <name>pdf</name>
                          <name>msword</name>
                          <name>msexcel</name>
                          <name>image</name>
                          <name>generic</name>
                                  </documenttypes-indexed>
                          </indexsource>

  Tristan 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041001/df51eb00/attachment.htm>


More information about the opencms-dev mailing list