2021-06-06 19:43:36 +02:00
|
|
|
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog" aria-label="{{t 'Search operators' }}">
|
|
|
|
<div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
|
|
|
|
<div id="operators-instructions">
|
|
|
|
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{t "Operator" }}</th>
|
|
|
|
<th>{{t "Effect" }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">stream:<span class="operator_value">stream</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to messages on stream <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">stream</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">topic:<span class="operator_value">topic</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to messages with topic <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">topic</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">pm-with:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to private messages with <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">group-pm-with:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to group private messages with <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">sender:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to messages sent by <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">sender:me</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages sent by you.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">near:<span class="operator_value">id</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Center the view around message ID <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">id</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">id:<span class="operator_value">id</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Narrow to just message ID <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">id</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">streams:public</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Search all public streams in the organization.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:alerted</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages with alert words.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:mentioned</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages that mention you.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:private</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to private messages.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:starred</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to starred messages.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:unread</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to unread messages.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-07-13 10:14:17 +02:00
|
|
|
<tr>
|
|
|
|
<td class="operator">is:resolved</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages in resolved topics.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-06-06 19:43:36 +02:00
|
|
|
<tr>
|
|
|
|
<td class="operator">has:link</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages containing links.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">has:image</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages containing images.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">has:attachment</td>
|
|
|
|
<td class="definition">
|
|
|
|
{{t 'Narrow to messages containing uploads.'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator"><span class="operator_value">keyword</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Search for <z-value></z-value> in the topic or message content.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">keyword</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">-topic:<span class="operator_value">topic</span></td>
|
|
|
|
<td class="definition">
|
|
|
|
{{#tr}}
|
|
|
|
Exclude messages with topic <z-value></z-value>.
|
|
|
|
{{#*inline "z-value"}}<span class="operator_value">topic</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{#tr}}
|
|
|
|
<p>You can use any combination of these search operators in a single query. For example:</p>
|
|
|
|
<z-operator>
|
|
|
|
<z-stream-prefix></z-stream-prefix><z-stream>streamname</z-stream>
|
|
|
|
<z-sender-prefix></z-sender-prefix><z-email>user@example.com</z-email>
|
|
|
|
<z-keyword>keyword</z-keyword>
|
|
|
|
</z-operator>
|
|
|
|
<p>
|
2022-09-08 20:06:32 +02:00
|
|
|
That query would search for messages sent by <z-email>user@example.com</z-email> to
|
2021-06-06 19:43:36 +02:00
|
|
|
stream <z-stream>streamname</z-stream> containing
|
|
|
|
the keyword <z-keyword>keyword</z-keyword>.
|
|
|
|
</p>
|
|
|
|
{{#*inline "z-operator"}}<p><span class="operator">{{> @partial-block}}</span></p>{{/inline}}
|
|
|
|
{{#*inline "z-stream-prefix"}}stream:{{/inline}}
|
|
|
|
{{#*inline "z-stream"}}<span class="operator_value">{{> @partial-block}}</span>{{/inline}}
|
|
|
|
{{#*inline "z-sender-prefix"}}email:{{/inline}}
|
|
|
|
{{#*inline "z-email"}}<span class="operator_value">{{> @partial-block}}</span>{{/inline}}
|
|
|
|
{{#*inline "z-keyword"}}<span class="operator_value">keyword</span>{{/inline}}
|
|
|
|
{{/tr}}
|
|
|
|
<hr />
|
|
|
|
<a href="help/search-for-messages#search-operators" target="_blank" rel="noopener noreferrer">{{t "Detailed search operators documentation" }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|