Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "help-docs: Revise the article on searching for messages."
Tim Abbottb3e1f546f3cb
diff --git a/templates/zerver/help/search-for-messages.md b/templates/zerver/help/search-for-messages.mdindex 116ac6c7955..0199ab92391 100644--- a/templates/zerver/help/search-for-messages.md+++ b/templates/zerver/help/search-for-messages.md@@ -3,54 +3,40 @@Zulip has a powerful search engine under its hood. Search for messages usingthe search bar at the top of the app.-## Basics+## Example-Here's an example of a search query in the app:-`stream:design has:link -is:starred new logo`+* `stream:design has:link -is:starred new logo`-It searches for messages in the stream `#design` that have a link, that-you haven't starred, and that contain the words `new` and `logo`.+Searches for messages in `#design` that have a link, that you haven't+starred, and that contain the words `new` and `logo`.The permalink for that search (web only) will look something likethis:`https://your-zulip-url/#narrow/stream/123-design/has/link/-is/starred/search/new.20logo`.+## List of operators+As you start typing, Zulip will suggest possible operator completions.Operators can be used with keywords, or on their own. For example,-* `stream:design logo` will search for the word `logo` within the stream- `#design`-* `stream:design` will navigate to the stream `#design`--## List of search operators+* `stream:design logo` will search for the word `logo` within `#design`+* `stream:design` will navigate to `#design`-### Searching stream messages+Here is the **full list of search operators**.* `stream:design`: Search within the stream `#design`.* `stream:design topic:emoji+picker`: Search within the topic `emoji picker`.-* `streams:public`: Search the history of all [public- streams](/help/change-the-privacy-of-a-stream) in the organization,- including streams you are not subscribed to.--### Searching private messages-* `is:private`: Search all your private messages.* `pm-with:[email protected]`: Search 1-on-1 private messages between you and Ada.* `pm-with:[email protected],[email protected]`: Search group private messagesbetween you, Bob, and Ada.* `group-pm-with:[email protected]`: Search all group private messageconversations that include you and Ada, as well as any other users.--### Searching by message sender or message ID-* `sender:[email protected]`: Search messages sent by Ada.* `sender:me`: [Search messages you've sent](/help/view-messages-sent-by-a-user#view-messages-youve-sent).* `near:12345`: Show messages around the message with ID `12345`.* `id:12345`: Show only message `12345`.--### Searching by message characteristics and flags-* `is:alerted`: See [alert words](/help/pm-mention-alert-notifications#alert-words).* `is:mentioned`: See [mentions](/help/mention-a-user-or-group).* `is:starred`: See [starred messages](/help/star-a-message).@@ -60,8 +46,11 @@ Operators can be used with keywords, or on their own. For example,* `has:link`* `has:image`* `has:attachment`+* `streams:public`: Search the history of all [public+ streams](/help/change-the-privacy-of-a-stream) in the organization,+ including streams you are not subscribed to.-## Excluding messages+### Excluding messagesZulip's search operators can be negated, to exclude messages matchingthe rule. For example, `stream:design -is:resolved -has:image` will