# 在部分类别中搜索功能

**URL:** https://meta.discourse.org/t/fonction-recherche-dans-certaines-categories/400385
**Category:** Support
**Tags:** search
**Created:** [2026年四月10日 10:47 UTC](https://meta.discourse.org/t/fonction-recherche-dans-certaines-categories/400385 "2026-04-10T10:47:19Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![gilles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gilles/32/549022_2.png) [@gilles](https://meta.discourse.org/u/gilles)
#### Post date: [2026年四月14日 11:42 UTC](https://meta.discourse.org/t/fonction-recherche-dans-certaines-categories/400385/11 "2026-04-14T11:42:18Z")

</div>

你好 @Tris20，

我想要一个搜索功能，能在论坛页面上同时搜索两个分类，而不跳转到其他页面。如果我没理解错的话，目前会出现两个搜索栏，每种搜索类型对应一个图标。本来用户就觉得 Discourse 的使用有点复杂，所以我正尝试简化操作流程 🤣。现在的问题是，用户总是把各种东西都拿来比较。也许是我对这个组件的使用方式不对。

我想要的效果是：输入搜索词后，搜索引擎仅在被配置的两个分类中进行搜索。

---

_[View the full topic](https://meta.discourse.org/t/fonction-recherche-dans-certaines-categories/400385)._
