Discourse Saved Searches

: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

51 Likes

Nice Plugin, we can convert each Search action to Deal or New topic with conditon filter and description.

1 Like

Jesus! Just what I was looking for :smiley: I love you!

2 Likes

Does this plugin cap the number of matching results that it reports?

Iā€™m aware that thereā€™s a setting for the number of saved searches (defaulting to 5) ā€“ my question however is about the number of results for each of the saved searches.

So far we only spotted reports of up to 5 results which seems rather short.

If thereā€™s a cap, does it come from the default number of search results that the regular search returns? One typical use case for this plugin is to make sure one doesnā€™t miss any reference to something, but with a capā€”and no reference that there more matchesā€”, then one is likely to miss results for its saved search.

Edit to add: perhaps, if there are more than 5 results, a ā€œView moreā€ link could be appended to the search results, linking to to the search page with that term and perhaps matching time frame.