diff options
author | Corey Hulen <corey@hulen.com> | 2015-11-05 07:25:00 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-11-05 07:25:00 -0800 |
commit | 36174aed88873f7d7cbc6023207290995850d6f7 (patch) | |
tree | 707b96f520b1e1f46698e65e91915d8e6de040f5 /doc/help | |
parent | d89e970343156c26f609a441e42bfc6bad41fdf8 (diff) | |
parent | 441c338fa9fb5464e16b9dab9353f70ae48f5689 (diff) | |
download | chat-36174aed88873f7d7cbc6023207290995850d6f7.tar.gz chat-36174aed88873f7d7cbc6023207290995850d6f7.tar.bz2 chat-36174aed88873f7d7cbc6023207290995850d6f7.zip |
Merge pull request #1301 from mishimi/patch-9
Added documentation on search modifiers and two character search limi…
Diffstat (limited to 'doc/help')
-rw-r--r-- | doc/help/Search.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/help/Search.md b/doc/help/Search.md index 02ecf7d40..51095aac6 100644 --- a/doc/help/Search.md +++ b/doc/help/Search.md @@ -2,14 +2,16 @@ The search box in Mattermost brings back results from any channel of which you’re a member. No results are returned from channels where you are not a member - even if they are open channels. -Some things to know about search: +#### Some things to know about search: - Multiple search terms are connected with “OR” by default. Typing in `Mattermost website` returns results containing “Mattermost” or “website” -- You can use quotes to return search results for exact terms, like `"Mattermost website"` will only return messages containing the entire phrase `"Mattermost website"` and not return messages with only `Mattermost` or `website` -- You can use the `*` character for wildcard searches that match within words. For example: Searching for `rea*` brings back messages containing `reach`, `reason` and other words starting with `rea`. +- Use `from:` to find posts from specific users and `in:` to find posts in specific channels. For example: Searching `Mattermost in:town-square` only returns messages in Town Square that contain `Mattermost` +- Use quotes to return search results for exact terms. For example: Searching `"Mattermost website"` returns messages containing the entire phrase `"Mattermost website"` and not messages containing only `Mattermost` or `website` +- Use the `*` character for wildcard searches that match within words. For example: Searching for `rea*` brings back messages containing `reach`, `reason` and other words starting with `rea`. -#### Limitations +#### Limitations: - Search in Mattermost uses the full text search features included in either a MySQL or Postgres database, which has some limitations - Special cases that are not supported in default full text search, such as searching for IP addresses like `10.100.200.101`, can be added in future as the search feature evolves - - Searches with fewer than three characters will return no results, so for searching in Chinese try adding * to the end of queries + - Two letter searches and common words like "this", "a" and "is" won't appear in search results + - For searching in Chinese try adding * to the end of queries |