[opencms-dev] exclude possibility in search engine
Alexander Kandzior
alex at opencms.org
Fri Oct 29 09:03:26 CEST 2004
You can exclude certain resource types, but not folders or resources based
on their name.
However, you could provide multiple start paths for an index like this:
<indexsource>
<name>source1</name>
<indexer
class="org.opencms.search.CmsVfsIndexer" />
<resources>
<resource>/sites/default/folder1/</resource>
<resource>/sites/default/folder2/</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>
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Hans
> van der Linden
> Sent: Thursday, October 28, 2004 8:24 PM
> To: The OpenCms mailing list
> Subject: [opencms-dev] exclude possibility in search engine
>
> Hi
>
> I tried to exclude some resources but can't find the syntax
> for opencms-search.xml. In CmsSearchConfiguration.java I
> don't see something like exclude...
> Is this uberhaupt ;-) possible?
>
> regards,
>
> Hans
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To
> change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list