{{ _('Search operators') }}

{{ _('Operator') }} {{ _('Effect') }}
stream:stream {{ _('Narrow to messages on stream') }} stream
topic:topic {{ _('Narrow to messages with topic') }} topic
pm-with:email {{ _('Narrow to private messages with') }} email
sender:email {{ _('Narrow to messages sent by') }} email
sender:me {{ _('Narrow to messages sent by you.') }}
near:id {{ _('Center the view around message ID') }} id
id:id {{ _('Narrow to just message ID') }} id
is:alerted {{ _('Narrow to messages with alert words.') }}
is:mentioned {{ _('Narrow to messages that mention you.') }}
is:private {{ _('Narrow to private messages.') }}
is:starred {{ _('Narrow to starred messages.') }}
has:link {{ _('Narrow to messages containing links.') }}
has:image {{ _('Narrow to messages containing images.') }}
has:attachment {{ _('Narrow to messages containing uploads.') }}
keyword {% trans %}Search for keyword in the topic or message content {% endtrans %}
-topic:topic {% trans %}Exclude messages with topic topic{% endtrans %}
{% trans %}

You can use any combination of these search operators in a single query. For example:

  stream:streamname sender:user@example.com keyword

would search for messages sent by user@example.com to stream streamname containing the keyword keyword.

{% endtrans %}