[opencms-dev] Opencms 8 Search - exclude .content Folder

Feuerstein Andreas andreas.feuerstein at solvistas.at
Mon Sep 26 20:43:05 CEST 2011


Any further ideas?


-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org im Auftrag von Feuerstein Andreas
Gesendet: Di 20.09.2011 20:01
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder
 
Sandrine,

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?

Best Regards,
Andreas


-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org im Auftrag von Sandrine Prousteau
Gesendet: Di 20.09.2011 17:52
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder

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






________________________________

eMail ist virenfrei.
Von AVG überprüft - www.avg.de
Version: 10.0.1410 / Virendatenbank: 1520/3920 - Ausgabedatum: 26.09.2011 


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


More information about the opencms-dev mailing list