> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/advanced-basic/workbench/global-search.md).

# 全局搜索

全局搜索用于在一个入口里查找消息、对话、任务、助手、Agent 和知识库。它适合“记得内容，不记得放在哪里”的情况。

<figure><img src="/files/NsjoWNQOVf45tqc5dFlp" alt="全局搜索中的关键词、搜索类型和更新时间筛选"><figcaption><p>先输入有辨识度的关键词，再按对话、知识库等类型和更新时间缩小范围。</p></figcaption></figure>

## 使用方法

{% stepper %}
{% step %}

### 1. 点击窗口顶部的搜索按钮

也可以在【设置】→【快捷键】查看或修改对应快捷键。
{% endstep %}

{% step %}

### 2. 输入有辨识度的关键词

优先使用项目名、人名、文件主题或结论中的短语。只输入“设置”“报告”等常见词，结果通常太多。
{% endstep %}

{% step %}

### 3. 缩小搜索范围

切换【消息】或使用【对话】【任务】【助手】【智能体】【知识库】筛选，再按更新时间缩小范围。
{% endstep %}

{% step %}

### 4. 打开结果继续工作

搜索会带你回到对应内容。打开前先看类型，避免把同名助手和 Agent 任务混淆。
{% endstep %}
{% endstepper %}

### 应用案例：找回上个月的客户结论

搜索客户项目名，再将类型缩小到【消息】并限制更新时间。找到结论后打开原对话，先确认后续是否有修订；需要把结论用于新任务时，复制已经确认的摘要，而不是让新对话依赖记忆中的零散片段。

<details>

<summary>为什么搜索不到磁盘里的文件内容？</summary>

全局搜索主要查找 Cherry Studio 中已保存的内容。磁盘文件需要在 Agent 工作目录、知识库或笔记中进入相应流程后，才能通过对应入口查找。

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/advanced-basic/workbench/global-search.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
