2017-01-09 23:03:11 +01:00
|
|
|
# Searching for messages
|
|
|
|
|
2022-12-06 23:23:43 +01:00
|
|
|
It's easy to find the right conversation with Zulip's powerful full-text search.
|
|
|
|
You can search for messages using keywords and filters via the search bar at the
|
|
|
|
top of the app. There is a convenient [**search filters reference**](#search-filters-reference)
|
|
|
|
in the Zulip app that you can use whenever you need a reminder of the search
|
|
|
|
filters below.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2024-03-28 21:34:44 +01:00
|
|
|
## Search for messages
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{tab|desktop-web}
|
|
|
|
|
|
|
|
1. Click the **search** (<i class="search_icon zulip-icon
|
|
|
|
zulip-icon-search"></i>) icon in the top bar to open the search box.
|
|
|
|
|
|
|
|
1. Type your query, and press <kbd>Enter</kbd>.
|
|
|
|
|
|
|
|
!!! keyboard_tip ""
|
|
|
|
|
|
|
|
You can also use the <kbd>/</kbd> or <kbd>Ctrl</kbd> + <kbd>K</kbd>
|
|
|
|
keyboard shortcut to start searching messages.
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
## Keyword search
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
Zulip lets you search messages and topics by keyword. For example:
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
* `new logo`: Search for messages with both `new` and `logo` in the message or
|
|
|
|
its topic.
|
|
|
|
* `"new logo"`: Search for messages with the phrase "`new logo`" in the message
|
|
|
|
or its topic.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
Some details to keep in mind:
|
2021-07-14 08:42:07 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
- Keywords are case-insensitive, so `wave` will also match `Wave`.
|
|
|
|
- Zulip will find messages containing similar keywords (keywords with the same
|
|
|
|
stem), so, e.g., `wave` will match `waves` and `waving`.
|
|
|
|
- Zulip search ignores very common words like `a`, `the`, and about 100 others.
|
|
|
|
- [Emoji](/help/emoji-and-emoticons) in messages (but not [emoji
|
|
|
|
reactions](/help/emoji-reactions)) are included in searches, so if you search
|
2024-10-22 12:56:14 +02:00
|
|
|
for `thumbs_up`, your results will include messages with the `:thumbs_up:` emoji (👍).
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
## Search filters
|
2022-11-07 19:40:07 +01:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
Zulip also offers a wide array of search filters, which can be used on their
|
|
|
|
own, or in combination with keywords. For example:
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channel:design`: Navigate to **#design**.
|
|
|
|
* `channel:design logo`: Search for the keyword `logo` within **#design**.
|
|
|
|
* `channel:design has:image new logo`: Search for messages in **#design** that
|
2022-11-28 23:15:17 +01:00
|
|
|
include an image and contain the keywords `new` and `logo`. The keywords can
|
|
|
|
appear in the message itself or its topic.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
!!! tip ""
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
As you start typing into the search box, Zulip will suggest search filters
|
|
|
|
you can use.
|
|
|
|
|
|
|
|
### Search by location
|
|
|
|
|
|
|
|
Sometimes you know approximately where the message you are looking for was sent.
|
|
|
|
Zulip offers the following filters based on the location of the message.
|
|
|
|
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channel:design`: Search within the channel **#design**.
|
|
|
|
* `channel:design topic:new+logo`: Search within the topic "new logo" in
|
2022-11-28 23:15:17 +01:00
|
|
|
**#design**.
|
2023-04-20 15:03:07 +02:00
|
|
|
* `is:dm`: Search all your direct messages.
|
|
|
|
* `dm:Bo Lin`: Search 1-on-1 direct messages between you and Bo.
|
|
|
|
* `dm:Bo Lin, Elena García`: Search group direct messages
|
2022-11-28 23:15:17 +01:00
|
|
|
between you, Bo, and Elena.
|
2023-04-20 15:03:07 +02:00
|
|
|
* `dm-including:Bo Lin`: Search all direct message conversations
|
|
|
|
(1-on-1 and group) that include you and Bo, as well as any other users.
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channels:public`: Search the history of all [public
|
2024-05-02 16:45:12 +02:00
|
|
|
channels](/help/change-the-privacy-of-a-channel) in the organization, including
|
2024-05-06 09:20:58 +02:00
|
|
|
channels you are not subscribed to; see details
|
2022-11-28 23:15:17 +01:00
|
|
|
[below](#searching-shared-history).
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
### Search by sender
|
2021-07-14 08:42:07 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
* `sender:Elena García`: Search messages sent by Elena.
|
|
|
|
* `sender:me`: Search messages you've sent.
|
2021-07-14 08:42:07 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
!!! tip ""
|
2019-12-11 03:35:03 +01:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
You can also access all messages someone has sent [via their **user
|
|
|
|
card**](/help/view-messages-sent-by-a-user).
|
2019-12-11 03:35:03 +01:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
### Search for attachments or links
|
|
|
|
|
|
|
|
* `has:link`: Search messages that contain URLs.
|
|
|
|
* `has:attachment`: Search messages that contain an [uploaded
|
|
|
|
file](/help/share-and-upload-files).
|
2023-09-23 02:15:12 +02:00
|
|
|
* `has:image`: Search messages that contain uploaded or linked images or videos.
|
2022-11-28 23:15:17 +01:00
|
|
|
|
|
|
|
!!! tip ""
|
|
|
|
|
2023-09-23 02:15:12 +02:00
|
|
|
You can also [view](/help/manage-your-uploaded-files) all the files you
|
2023-11-21 03:58:58 +01:00
|
|
|
have uploaded or [browse](/help/view-images-and-videos) all the images and
|
2023-09-23 02:15:12 +02:00
|
|
|
videos in the current view.
|
2022-11-28 23:15:17 +01:00
|
|
|
|
|
|
|
### Search your important messages
|
2019-12-11 03:35:03 +01:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
* `is:alerted`: Search messages that contain your [alert
|
2023-03-21 22:07:33 +01:00
|
|
|
words](/help/dm-mention-alert-notifications#alert-words). Messages are
|
|
|
|
included in the search results based on the alerts you had configured when you
|
|
|
|
received the message.
|
2022-11-28 23:15:17 +01:00
|
|
|
* `is:mentioned`: Search messages where you were
|
|
|
|
[mentioned](/help/mention-a-user-or-group).
|
|
|
|
* `is:starred`: Search your [starred messages](/help/star-a-message).
|
2019-12-11 03:35:03 +01:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
### Search by message status
|
2019-12-11 03:35:03 +01:00
|
|
|
|
2023-10-25 19:44:52 +02:00
|
|
|
* `is:followed`: Search messages in [followed topics](/help/follow-a-topic).
|
2022-11-28 23:15:17 +01:00
|
|
|
* `is:resolved`: Search messages in [resolved topics](/help/resolve-a-topic).
|
|
|
|
* `-is:resolved`: Search messages in [unresolved topics](/help/resolve-a-topic).
|
|
|
|
* `is:unread`: Search your unread messages.
|
2024-07-16 03:04:42 +02:00
|
|
|
* `has:reaction`: Search messages with [emoji reactions](/help/emoji-reactions).
|
2022-11-28 23:15:17 +01:00
|
|
|
|
|
|
|
### Search by message ID
|
|
|
|
|
|
|
|
Each message in Zulip has a unique ID, which is used for [linking to a specific
|
|
|
|
message](/help/link-to-a-message-or-conversation#link-to-zulip-from-anywhere).
|
|
|
|
You can use the search bar to navigate to a message by its ID.
|
|
|
|
|
|
|
|
* `near:12345`: Show messages around the message with ID `12345`.
|
|
|
|
* `id:12345`: Show only message `12345`.
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channel:design near:1` Show the oldest messages in the **#design** channel.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
### Exclude filters
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
All of Zulip's search filters can be negated to **exclude** messages matching
|
|
|
|
the specified rule. For example:
|
|
|
|
|
2024-05-06 09:20:58 +02:00
|
|
|
- `channel:design -is:resolved -has:image`: Search messages in [unresolved
|
|
|
|
topics](/help/resolve-a-topic) in the **#design** channel that don't contain
|
2022-11-28 23:15:17 +01:00
|
|
|
images.
|
|
|
|
|
|
|
|
## Searching shared history
|
|
|
|
|
2024-05-01 20:36:10 +02:00
|
|
|
Zulip's [channel permissions](/help/channel-permissions) model allows access to
|
2024-05-06 09:20:58 +02:00
|
|
|
the full history of public channels and private channels with shared history,
|
|
|
|
including messages sent before you joined the channel (or organization), or those
|
|
|
|
sent to public channels you are not subscribed to.
|
2022-11-28 23:15:17 +01:00
|
|
|
|
|
|
|
By default, Zulip searches messages in your history, i.e., the
|
|
|
|
messages you actually received. This avoids cluttering search results
|
2024-05-06 09:20:58 +02:00
|
|
|
with irrelevant messages from public channels you're not interested in.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
If you'd like to instead search the organization's shared history, any query
|
2024-05-06 09:20:58 +02:00
|
|
|
using the `channel:` or `channels:` filters will search all messages that you have
|
|
|
|
access to in the selected channel(s). For example:
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channels:public logo`: Search for `logo` in all public channels in the
|
2022-11-28 23:15:17 +01:00
|
|
|
organization.
|
2024-05-06 09:20:58 +02:00
|
|
|
* `channels:public sender:Elena García`: Search for all messages sent by
|
|
|
|
Elena to any public channel.
|
|
|
|
* `channel:design logo`: Search for the word `logo` in all messages sent to
|
2022-11-28 23:15:17 +01:00
|
|
|
**#design**, regardless of whether you were subscribed at the time the message
|
|
|
|
was sent.
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
## Linking to search results
|
2018-09-29 21:37:45 +02:00
|
|
|
|
2022-11-28 23:15:17 +01:00
|
|
|
When you search Zulip, the URL shown in the address bar of the Zulip web app is a
|
|
|
|
permanent link to your search. You can share this link with others, and they
|
|
|
|
will see *their own* search results for your query.
|
2022-07-07 07:48:41 +02:00
|
|
|
|
2022-12-06 23:23:43 +01:00
|
|
|
## Search filters reference
|
|
|
|
|
|
|
|
A summary of the search filters above is available in the Zulip app.
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
2023-10-26 03:56:57 +02:00
|
|
|
{tab|desktop-web}
|
|
|
|
|
|
|
|
{relative|help|search-filters}
|
2022-12-06 23:23:43 +01:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
2022-07-07 07:48:41 +02:00
|
|
|
## Related articles
|
|
|
|
|
|
|
|
* [Configure multi-language search](/help/configure-multi-language-search)
|
2024-03-28 21:37:23 +01:00
|
|
|
* [Search people](/help/user-list#search-people)
|
2022-11-28 23:15:17 +01:00
|
|
|
* [Link to a message or
|
|
|
|
conversation](/help/link-to-a-message-or-conversation#link-to-zulip-from-anywhere)
|