I know you can do in:#channel to only get results from a channel, but is there a way to filter out results from a channel? A lot of our channels are spammed with automated messages and it adds noise to the search results.
I found that this is possible as a global setting (which is less than convenient, but may still be useful). According to this Help Center page (Under the "Exclude channels from search" section):
- From your desktop, click your workspace name in the top left.
- Choose Preferences from the menu.
- Click Search. (I had to click "Advanced" under which there was a "Search Options" section)
- Under Don't search these channels ("Exclude these channels from search results" for me), click the box to pick channels to exclude.
The search feature allows you to exclude words from the result by putting a minus sign in front of a word.
will only return messages containing
hot, but not
To exclude a channel from the results use
searchTerm -in:channelName. Do not add a
# in front of the channel name.