[opencms-dev] Opencms 8 Search - exclude .content Folder
Sandrine Prousteau
s.prousteau at eurelis.com
Tue Sep 20 17:52:24 CEST 2011
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.
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Feuerstein Andreas
Envoyé : mardi 20 septembre 2011 14:35
À : The OpenCms mailing list
Objet : Re: [opencms-dev] Opencms 8 Search - exclude .content Folder
Hi,
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.
Best Regards,
Andreas
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org im Auftrag von Sandrine Prousteau
Gesendet: Di 20.09.2011 13:32
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder
Try to set only the folders of container pages in your index, and not the .content folder.
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Feuerstein Andreas
Envoyé : lundi 19 septembre 2011 18:28
À : opencms-dev at opencms.org
Objet : [opencms-dev] Opencms 8 Search - exclude .content Folder
Hi,
how is it possible to exclude the files located in the .content folder from search results? I always get search Results like "http://domain.com/opencms/opencms/.content/articles/article.html" instead of the link to the corresponding containerpage.
Best Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110920/a9e7f75d/attachment.htm>
More information about the opencms-dev
mailing list