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

Feuerstein Andreas andreas.feuerstein at solvistas.at
Tue Sep 27 16:31:35 CEST 2011


One more thing to mention:

 

The search is working for News entries but not for Articles.

 

For News I get Links like http://example.com/news/first_news.html

 

For Articles I still get http://example.com/.conent/article/first_article.html

 

Do the configured detail pages (I added a details page for News in .config file) influence the search Links?

 

Sorry for being impatient but it's a really urgent issue.

 

Regards,

Andreas

 

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Feuerstein Andreas
Gesendet: Montag, 26. September 2011 20:43
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Opencms 8 Search - exclude .content Folder

 

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



________________________________

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

________________________________

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

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


More information about the opencms-dev mailing list