From 96e3adbdb3602ac45a4c9c57d5c4cd2e185d8a6e Mon Sep 17 00:00:00 2001 From: mishimi Date: Wed, 4 Nov 2015 07:54:30 -0800 Subject: Added documentation on search modifiers and two character search limitations --- doc/help/Search.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/help') diff --git a/doc/help/Search.md b/doc/help/Search.md index 02ecf7d40..79e4bba1b 100644 --- a/doc/help/Search.md +++ b/doc/help/Search.md @@ -5,11 +5,13 @@ The search box in Mattermost brings back results from any channel of which you 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 quotes to return search results for exact terms. For example: Searching `"Mattermost website"` will only return messages containing the entire phrase `"Mattermost website"` and will 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`. +- You can use from: to find posts from specific users and in: to find posts in specific channels. For example: Searching `Mattermost in:town-square' will only return messages in Town Square that contain 'Mattermost' #### 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 + - Due to the volume of results, 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 -- cgit v1.2.3-1-g7c22