improve search help copy
This commit is contained in:
parent
8efee0d03d
commit
41be68ec6a
|
@ -2123,19 +2123,40 @@ en:
|
||||||
|
|
||||||
static:
|
static:
|
||||||
search_help: |
|
search_help: |
|
||||||
You may include special search operators:
|
<h2>Tips</h2>
|
||||||
|
<p>
|
||||||
`order:views` Results will be ordered by view count (as opposed to relevence)
|
<ul>
|
||||||
`order:latest` Results will be ordered by last post time (as opposed to relevence)
|
<li>Title matches are prioritized, so when in doubt, search for titles</li>
|
||||||
`status:open` Only show open topics
|
<li>Unique, uncommon words will always produce the best results</li>
|
||||||
`status:closed` Only show closed topics
|
<li>Whenever possible, scope your search to a particular category or user</li>
|
||||||
`status:archived` Only show archived topics
|
</ul>
|
||||||
`status:noreplies` Show posts with a single participant
|
</p>
|
||||||
`category:foo` Only show topics in the category `foo`
|
<h2>Advanced Search Operators</h2>
|
||||||
`user:foo` Only show posts by the user `foo`
|
<p>
|
||||||
`in:likes` Only show posts you liked
|
<table>
|
||||||
`in:posted` Only show posts you created
|
<tr><td><code>order:views</code></td><td>Order results by view count</td></tr>
|
||||||
`in:watching` Only show watched topics
|
<tr><td><code>order:latest</code></td><td>Order results by date of last post</td></tr>
|
||||||
`in:tracking` Only show tracking topics
|
<tr><td><code>status:open</code></td><td>Search open topics</td></tr>
|
||||||
|
<tr><td><code>status:closed</code></td><td>Search closed topics</td></tr>
|
||||||
Example: `bears category:test status:open order:latest` will search for topics containing the word `bears` in the category `test` that are not closed or archived ordered by last post date.
|
<tr><td><code>status:archived</code></td><td>Search archived topics</td></tr>
|
||||||
|
<tr><td><code>status:noreplies</code></td><td>Search topics with no replies</td></tr>
|
||||||
|
<tr><td><code>status:singleuser</code></td><td>Search topics where only a single user posted</td></tr>
|
||||||
|
<tr><td><code>category:foo</code></td><td>Search topics in the 'foo' category</td></tr>
|
||||||
|
<tr><td><code>user:foo</code></td><td>Search posts by the user 'foo'</td></tr>
|
||||||
|
<tr><td><code>in:likes</code></td><td>Search posts you liked</td></tr>
|
||||||
|
<tr><td><code>in:posted</code></td><td>Search posts you created</td></tr>
|
||||||
|
<tr><td><code>in:watching</code></td><td>Search topics you are watching</td></tr>
|
||||||
|
<tr><td><code>in:tracking</code></td><td>Search topics you are tracking</td></tr>
|
||||||
|
</table>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<code>rainbows category:parks status:open order:latest</code> will search for topics containing the word "rainbows" in the category "parks" that are not closed or archived, ordered by date of last post.
|
||||||
|
</p>
|
||||||
|
<h2>Search with Google</h2>
|
||||||
|
<p>
|
||||||
|
<form action='//google.com/search' id='google-search' onsubmit="document.getElementById('google-query').value = 'site:https://meta.discourse.org ' + document.getElementById('user-query').value; return true;">
|
||||||
|
<input type="text" id='user-query' value="">
|
||||||
|
<input type='hidden' id='google-query' name="q">
|
||||||
|
<button class="btn btn-primary">Google</button>
|
||||||
|
</form>
|
||||||
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue