# 同时搜索公共主题和私信，并将此选项设为默认

**URL:** <https://meta.discourse.org/t/searching-public-topics-and-pms-simultaneously-and-set-this-option-as-the-default/71017>\
**Category:** Feature\
**Tags:** search\
**Created:** [2017年九月29日 10:53 UTC](https://meta.discourse.org/t/searching-public-topics-and-pms-simultaneously-and-set-this-option-as-the-default/71017 "2017-09-29T10:53:24Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2025年十二月11日 21:04 UTC](https://meta.discourse.org/t/searching-public-topics-and-pms-simultaneously-and-set-this-option-as-the-default/71017/13 "2025-12-11T21:04:34Z")

</div>

我有几个站点大量使用群组消息（Group Messages），这是一种将“论坛外”主题与公开分类清晰区分的绝佳方式。

然而，这造成了一点功能上的搜索孤岛。虽然可以使用 `in-all` 在消息和更广泛的论坛中进行搜索（参见 [https://meta.discourse.org/t/searching-for-content-effectively/273328），但实际上无法从搜索用户界面（UI）访问此功能。](https://meta.discourse.org/t/searching-for-content-effectively/273328%EF%BC%89%EF%BC%8C%E4%BD%86%E5%AE%9E%E9%99%85%E4%B8%8A%E6%97%A0%E6%B3%95%E4%BB%8E%E6%90%9C%E7%B4%A2%E7%94%A8%E6%88%B7%E7%95%8C%E9%9D%A2%EF%BC%88UI%EF%BC%89%E8%AE%BF%E9%97%AE%E6%AD%A4%E5%8A%9F%E8%83%BD%E3%80%82)

对于我们的用例，如果在“高级搜索”（Advance Search）UI 中有以下功能会非常有帮助：

1. 一个易于使用的选项来控制是否在搜索中包含消息（和/或聊天）

2. 能够为整个站点设置此项的默认值

---

_[View the full topic](https://meta.discourse.org/t/searching-public-topics-and-pms-simultaneously-and-set-this-option-as-the-default/71017)._
