类别

有特色的模板

Drupal 7.x. How to 启用 和 管理 搜索 模块

诺曼·费雪 2012年6月25日
等级: 5.0/5. 来自4票.
请稍等...

This tutorial is going to show 你 how to 启用 和 管理 搜索 on 你r Drupal 7 网站.

启用

  1. Log into 你r Drupal admin panel 和 go to the 模块 顶部菜单.
  2. 看看那个叫 搜索 (使全站 关键字 搜索)在 核心 section, scroll down 和 click 保存配置.
  3. 然后转到顶部菜单 结构,点击 和 look for the one called 搜索表单.
  4. 地区 列 你 need to choose the region for 你r block. You need to refer to the documentation file that comes with 你r template to find out which region to choose.
  5. 点击 配置操作 列. 下 区域设置 will see the same position selected in the 默认主题. There 你 can also select the positions of this 模块 for the administration 和 other themes 你 have on 你r 网站.
  6. 可见性设置 -> Show block on specific pages 你 need to specify what pages are going to have this 模块 1、e.g. All pages except those listed
  7. 完成后,单击 存块. Now 你 should see the 搜索 block on 你r 网站.

Drupal索引

  1. The 搜索 engine maintains an index of words found in 你r 网站’s content. To build 和 maintain this index, a correctly configured 是必需的. 索引 behavior can be adjusted  if 你 go to the 顶部菜单 配置 然后点击 搜索设置搜索和元数据.

    On the next page 你 are going to find a number of options.

  2. 索引 状态 shows 你 how much of 你r 网站 has been indexed 和 is, therefore, available for 搜索ing. To re-index 你r 网站,点击 the 重新检索 网站 button; the system dumps the old index is going to be dumped by the system 和 a new one will be created.
  3. 索引 节气门 allows 你 to specify the number of items to be indexed with each cron 运行. The larger the length of a typical 节点, comment, or piece of content, the more memory 和 resources Drupal will need to analyze it.
  4. 索引 设置 给你两个控件. The 第一个 specifies the minimum word length to index (the default value of 3 is enough, 意思是说 at, be, do, no, we 不会被索引). 另一种选择, 简单的CJK处理, is needed for 网站s using the Chinese, 朝鲜文, 或日语. If 你r 网站 has no content in those languages, feel free to disable it.
  5. 活动搜索模块.

    The 第一个 check boxes allow 你 to specify the type of content the 网站 users are able to 搜索. 选择 节点 to 搜索 the content items. 选择 用户 to 搜索 the user profiles (by default the both are 启用d). Note that while the Drupal 网站 搜索 can be configured to 搜索 both 节点s 和 users, the 搜索 results output always divides the results in separate 选项卡s, one labeled Content 和 the other labeled 用户s; the output on those 选项卡s corresponds to the 节点用户 配置设置. 默认搜索 模块 setting allows 你 to set the default 搜索 results 选项卡 用户会看到. Select 节点 (the default option) to make the Content 选项卡 出现的第一个. Select 用户 显示用户 选项卡 第一个.

  6. 内容的排名

    Allows 你 to modify the order in which results are returned during a 搜索 process, help direct Drupal to what is relevant to 你r users. A higher number means higher relevancy. The example below would cause content promoted to the frontpage to be returned higher in the 搜索 results than other content with a high number of user comments, even though content that has been commented on would still appear higher than content that only contains the 关键字. Note that 模块s can add additional content ranking factors allowing 你 to fi ne tune 你r 搜索 results. For  example, the core Statistics 模块 adds a ranking item for the number of views. Set this order to what 你 believe is relevant for the 搜索 patterns on 你r 网站. For modifying the content ranking no re-索引 是必需的.

Feel free to check the detailed video tutorial below:

Drupal 7.x. How to 启用 和 管理 搜索 模块

Drupal页面模板
这个条目被张贴了出来 Drupal教程 和标记 drupal, 启用, 管理, 搜索. 书签的 永久链接.

提交罚单

If 你 are still unable to find a sufficient tutorial regarding 你r issue please use the following link to submit a request to our technical support team. We'll provide 你 with our help 和 assistance within next 24 hours: 提交罚单