# 如何搜索特定群组的消息？

**URL:** <https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620>\
**Category:** Feature\
**Tags:** search, completed\
**Created:** [2020年九月28日 13:07 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620 "2020-09-28T13:07:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)\
**Post date:** [2020年九月28日 13:07 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620/1 "2020-09-28T13:07:22Z")

</div>

有时，我们的版主希望搜索发送到社区版主群组的所有消息。（这与系统的“版主”群组不同，因为我们的社区版主与所有需要“版主”权限的人员是分开的）。

然而，我们遇到了以下问题：

> 我不太清楚如何缩小搜索范围以查找（）版主消息。当我在（）版主消息列表中进行搜索时，搜索会被限制为个人消息，即仅包含我发起或参与的消息，而不包括其他版主创建的消息。有什么建议吗？

搜索有权限访问的消息（而不仅仅是您参与的消息）的最佳方法是什么？

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年九月28日 17:02 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620/2 "2020-09-28T17:02:53Z")

</div>

不确定这是否可行，@sam？

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2020年九月28日 23:56 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620/3 "2020-09-28T23:56:17Z")

</div>

我认为我们目前没有针对此的搜索运算符，但我们确实应该添加一个。@techAPJ 或许你可以看看这个问题。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年六月5日 08:45 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620/12 "2023-06-05T08:45:12Z")

</div>

我认为现在使用 `group_messages:GROUPNAME` 搜索过滤器就可以实现。👍

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年六月5日 08:45 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-search-a-particular-groups-messages/165620/13 "2023-06-05T08:45:17Z")

</div>


