[英]Ignoring content with the Drupal 6 search module
I have some content that I do not want the Drupal search module to index: for example, I do not want drupal search module to search my webform data. 我有一些我不想让Drupal搜索模块索引的内容:例如,我不想让Drupal搜索模块搜索我的Web表单数据。 How can I do that?
我怎样才能做到这一点?
The easiest way is with the Search Restrict module. 最简单的方法是使用“搜索限制”模块。 http://drupal.org/project/search_restrict
http://drupal.org/project/search_restrict
Be aware (in D6) things will still be indexed, and at least one role must be able to search everything, so you'll need an admin role. 请注意(在D6中)事物仍将被索引,并且至少一个角色必须能够搜索所有内容,因此您将需要一个admin角色。
If you're still on D5, this module actually excludes content types form the search system entirely. 如果您仍在使用D5,则此模块实际上完全排除了搜索系统中的内容类型。 http://drupal.org/project/search_block
http://drupal.org/project/search_block
If you really want to get fancy and create different search routes check out Finder. 如果您真的想花哨并创建不同的搜索路线,请查看Finder。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.