<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>AW: [opencms-dev] Opencms 8 Search - exclude .content Folder</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Sandrine,<BR>
<BR>
thats a good approach but I'm afraid the demo doesn't use this feature and .content files aren't shown in the searchresult though. Any other suggestions?<BR>
<BR>
Best Regards,<BR>
Andreas<BR>
<BR>
<BR>
-----Ursprüngliche Nachricht-----<BR>
Von: opencms-dev-bounces@opencms.org im Auftrag von Sandrine Prousteau<BR>
Gesendet: Di 20.09.2011 17:52<BR>
An: The OpenCms mailing list<BR>
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder<BR>
<BR>
I don't have the devdemo module on hand but you can check property "search.exclude" on the folders. Set it to "true" and the content under the folder will not be stored in the rebuilt index.<BR>
<BR>
<BR>
<BR>
De : opencms-dev-bounces@opencms.org [<A HREF="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>] De la part de Feuerstein Andreas<BR>
Envoyé : mardi 20 septembre 2011 14:35<BR>
Ŕ : The OpenCms mailing list<BR>
Objet : Re: [opencms-dev] Opencms 8 Search - exclude .content Folder<BR>
<BR>
<BR>
<BR>
Hi,<BR>
<BR>
I set /sites/ to my index as that's also the Flower Demos preset. I don't know where the difference between my and the demos configuration is.<BR>
<BR>
Best Regards,<BR>
Andreas<BR>
<BR>
<BR>
-----Ursprüngliche Nachricht-----<BR>
Von: opencms-dev-bounces@opencms.org im Auftrag von Sandrine Prousteau<BR>
Gesendet: Di 20.09.2011 13:32<BR>
An: The OpenCms mailing list<BR>
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder<BR>
<BR>
Try to set only the folders of container pages in your index, and not the .content folder.<BR>
<BR>
<BR>
<BR>
De : opencms-dev-bounces@opencms.org [<A HREF="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>] De la part de Feuerstein Andreas<BR>
Envoyé : lundi 19 septembre 2011 18:28<BR>
Ŕ : opencms-dev@opencms.org<BR>
Objet : [opencms-dev] Opencms 8 Search - exclude .content Folder<BR>
<BR>
<BR>
<BR>
Hi,<BR>
<BR>
how is it possible to exclude the files located in the .content folder from search results? I always get search Results like "<A HREF="http://domain.com/opencms/opencms/.content/articles/article.html">http://domain.com/opencms/opencms/.content/articles/article.html</A>" instead of the link to the corresponding containerpage.<BR>
<BR>
Best Regards,<BR>
Andreas<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>