# 添加搜索筛选自动补全

**URL:** <https://meta.discourse.org/t/add-search-filter-autocompletion/409524>\
**Category:** Feature\
**Tags:** search\
**Created:** [2026年八月7日 12:59 UTC](https://meta.discourse.org/t/add-search-filter-autocompletion/409524 "2026-08-07T12:59:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2026年八月7日 12:59 UTC](https://meta.discourse.org/t/add-search-filter-autocompletion/409524/1 "2026-08-07T12:59:51Z")

</div>

我经常在搜索输入框中手动输入过滤器，比如 `with:images`。

过滤器有很多种，以不同的前缀开头，比如 `in:`、`:with:`、`status:` 等等。

如果在搜索框中输入这些前缀时能提供自动补全建议，那就太好了。

输入 `in:` 时，会显示一个包含 `created`、`posted`、`likes`、`bookmarks`、`unseen`、`watching`、`all`、`messages`、`pinned`、`first`、`wiki`、`title`、`tracking`、`see` 的选择器，这样我们就不用死记硬背所有选项，也不用去高级搜索表单里查找了。

这有点像 `/filter` 功能，但不需要从预定义的前缀列表中选择过滤器。

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/d/5/4d530fe709a7f35fd9288c343fa819336d359e9c.png)

---

_[View the full topic](https://meta.discourse.org/t/add-search-filter-autocompletion/409524)._
