Discourse 已保存搜索

:discourse2: Summary Discourse Saved Searches allows users to save searches and be notified when any new topics or posts match the search criteria.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-saved-searches
:open_book: Install Guide How to install plugins in Discourse

Features

Following from the new watched words feature that takes action on bad words, here’s a plugin that lets people save a list of searches and get notified if any new topics and posts are created that match their searches.

After installing the plugin, enable it and choose the groups allowed to create saved searches.

There’s a new section in your preferences where you can define your list of searches.

Once a day, your searches will be performed. If there are new results that you haven’t already seen, you’ll get a private message with a list of links to the posts. If you want to get an email notification, be sure you’ve enabled “Send me an email when someone messages me” in your email settings.

One private message will be created for each of your search terms. Notification of new results will be posted as replies in the corresponding topic.

We’ve enabled it on meta for minimum trust level 2, so give it a try.

:bulb: Tip

The ‘saved searches’ in this plugin work exactly the same as a regular discourse search. So you can always try out a particular search by clicking :mag: in the top right of your forum, and pasting the search.

In general, searching for keywords will check in the topic title, and in the post/topic body.

Note that searches for multiple word phrases must be in double quotes “like this”.

Settings

Name Description
saved searches enabled Allow users to have saved searches
saved searches allowed groups Allow users in these groups to have saved searches
max saved searches Maximum number of saved searches

:discourse2: Hosted by us? This plugin is available on our Enterprise plan Saved Search | Discourse - Civilized Discussion

52 个赞

很棒的插件,我们可以将每个搜索操作转换为交易或新主题,并带有条件过滤器和描述。

1 个赞

太好了!正是我想要的 :smiley: 我爱你!

2 个赞

此插件是否限制了它报告的匹配结果数量?

我知道有一个关于已保存搜索数量的设置(默认为 5)——但我的问题是关于每个已保存搜索的结果数量。

到目前为止,我们只发现了最多 5 个结果的报告,这似乎相当少。

如果有限制,它是否来自常规搜索返回的默认搜索结果数量?此插件的一个典型用例是确保不遗漏任何对某项内容的引用,但如果有限制——并且没有提及有更多匹配项——那么人们很可能会错过其已保存搜索的结果。

编辑补充:也许,如果有超过 5 个结果,可以向搜索结果附加一个“查看更多”链接,链接到具有该术语和可能匹配时间范围的搜索页面。

1 个赞

这是一个很棒的功能,有计划将其合并到 Discourse 核心吗?

1 个赞