This document covers how to perform advanced searches in MindTouch. Use the examples in this article to filter your searches for more exact results or to provide specific searches for your users. This article is useful for all users of search but can be especially useful for authors, content managers and administrators when looking for specific articles in a website with a large amount of content.
MindTouch incorporates a powerful and flexible search engine. Click on the button for search options listed below to get more details on the specific search options. The example searches in this article are actual searches performed in the MindTouch Success Center.
The search function respects user permissions. This means you will not see search results for pages or files you do not have permission to view.
A query is broken up into terms and operators. There are two types of terms: single terms and phrases:
- A single term is a single word such as "research" or "analytics."
- A phrase is a group of words surrounded by double quotes such as "hello dolly."
Multiple terms can be combined together with Boolean operators to form a more complex query (see below).
There are three (3) searchable namespace areas in MindTouch:
- Main: The default namespace your search will only search in. This is your entire knowledge base.
- Template: Searches all of your site's template namespace (found by appending /Template: to your MindTouch domain).
- User: Searches all pages created under the user namespace.
Searches can constrain your search results to a specific section of your site.
|Search constraint||Search result|
||Lists all pages that are authored by a certain user. The last person to make changes to an article is considered an author.|
||Only searches within the content of a page or file. This does not include titles, tags, file names, descriptions, etc.|
||Searches for all articles or files created at a certain date. The format is YYYYMMDDhhmmss. You may append an asterick (*) to search for everything within a certain date range. The example shows all articles created in 2014.|
||Searches for all articles or files edited at a certain date. The format is YYYYMMDDhhmmss. You may append an asterick (*) to search for everything within a certain date range. The example shows all articles edited in 2015.|
||Only searches file descriptions. If multiple words are being searched, they must be wrapped in quotes (see example).|
||Lists only files associated with a certain file extension.|
||Lists all pages that are tagged with the specific tag you are searching. (You can also click the tag in Page Settings on any page to trigger a search for all pages associated with that tag.)|
||Only returns search results that are specific to the page title.|
||Returns pages that contain a specific template. Note: This search does not search templates.|
||Add a minus sign next to any of these constraints to exclude options from the search result.|
Boolean searches help link or unlink search queries. These are used in all popular search engines and are usually universal. Boolean searches are case sensitive and require capitalization. If you have more than two words, Boolean searches help refine the search.
|OR||The OR operator displays one query or the other. Searching with multiple words (not a phrase in quotes) always searches with the OR operator. The more relevant search results are boosted if all of the words in the search are in the result.|
|AND||The AND operator only shows articles that include all of the words in the query. Searching with phrases acts similarly to using the AND operator.|
|NOT||The NOT operator removes the next word from the search results. This helps when you have a large population of results and know you would like to strip out a specific subset of results.|
Boost search terms
When searching with multiple terms, you can boost a specific term to give it higher priority in the search. The higher the boost value, the more relevance is given to the term.
A query like "page editor" can have either "page" or "editor" boosted, depending on where ^ is appended.
Group search terms
Multiple clauses can be searched using parenthesis, similar to a math equation.This can be very useful if you want to control the Boolean logic for a query.
Group words with parenthesis and use Boolean operators to separate them. For example:
(mt4 OR tcs) AND advanced
This searches for either "mt4" or "tcs" and "advanced" in the query.