Skip to main content
MindTouch Success Center

Advanced search options

Use advanced search operators for more targeted results.

A query is comprised of terms and operators.

MindTouch search only returns pages or files in search results that the user has permission to view. 

Search terms

  • 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 "custom CSS".
    • Add "double quote marks" around a term or phrase to match the words exactly.
    • Using only one double quote mark, either just at the beginning or end, causes a search error.
  • Multiple terms can be combined with Boolean operators to form a more complex query.

Search constraints

author:<text>: Lists all pages that are authored by a certain user. The last person to make changes to an article is considered an author. Example: author:JamesV

content:<text>: Only searches within the content of a page or file. This does not include titles, tags, file names, descriptions, etc. Example: content:templates.

date.created:<yyyymmdd*>: 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. Example: date.created:2014*

date.edited:<yyyymmdd*>: 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. Example = date.edited:2015*

description:<text>: Only searches file descriptions. If multiple words are being searched, they must be wrapped in quotes. Example: description:"image properties"

extension:<extension>: Lists only files associated with a certain file extension. Example: extension:csv

tag:<tag>: 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. Example: tag:search

title:<title>: Only returns search results that are specific to the page title. Example: title:"page"

script:"template('<template_path/template_name>/": Returns pages that contain a specific template. This search does not search templates.

<search constraint>: Add a minus sign next to any of these constraints to exclude options from the search result. Example: editor -tag:customization

Boolean operators

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: 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. Example: Editor OR Table

AND: Only shows articles that include all of the words in the query. Searching with phrases acts similarly to using the AND operator. Example: Editor AND Table

NOT: 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. Example: Editor NOT Table

Boost 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. Example: page editor^2 or page^10 editor

Grouping terms

Multiple clauses can be searched using parenthesis, similar to a math equation. This can be 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.

Escape special characters

To escape special characters, use "\" before the character.

+ - && || ! ( ) { } ] ^ " ~ *  : \: 

For example: \(1\+1\)\:2

This list of advanced search options in this article is not exhaustive. Other searches may be available. To apply constraints via an API call to the search API, alternate formatting is required. Contact MindTouch Support team to learn more.

  • Was this article helpful?