如何从 Plone 的搜索结果中排除文件夹?
我想将一个文件夹标记为“其内容将从搜索表单中排除”,
访问者将无法通过搜索引擎找到它,即使它可见并抛出直接链接。 我已经知道结束日期可以帮助我实现这一目标,但在某些情况下,我只想排除有效内容,而不仅仅是存档。
我希望内容可以通过其他搜索表单(例如富文本编辑器或相关项目)找到。
因此,内容需要在 Portal_catalog SearcheableText 中建立索引,但从搜索结果中排除,因为它位于此文件夹中。
I would like to mark a folder as 'its content will be excluded from the search form'
Visitors will not find it with the search engine even if it visible throw direct link.
I already know the end date can help me to achieve this, but in some case, I just would like to have valide content just excluded not just archived.
I want the content to be findeable throw other search forms like the rich text editor or the related items.
So the content need to be indexed in the portal_catalog SearcheableText, but excluded from search results because it is in this folder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最近在 plone-users 列表中讨论了此主题:
http://plone.293351.n2.nabble.com/How-to-hide-pages-from-search-results-td6271253.html
This topic was recently discussed in plone-users list:
http://plone.293351.n2.nabble.com/How-to-hide-pages-from-search-results-td6271253.html