Search Query Logic
- Applies to:
- All MindTouch Versions
- Role required:
- N/A
When users search for specific phrases, MindTouch returns results based on your actual search query, and (optionally) facets the results to a specific section.
How MindTouch handles your search queries
Whatever you enter into the search bar is analyzed by MindTouch. Your query is not taken literally. Instead, MindTouch considers the following:
- Stemming
- Stop words
- Language
- Underscores
Stemming - MindTouch determines appropriate variations of a word when entered as a search query. The word cats is stemmed as cat– and will return results containing cat, cats and catamaran. Stemming does not return results for words such as scattering; MindTouch compares the stem against the first portion of a word.
Stemming does not apply to Tags.
Stop words - MindTouch does not index commonly used words and prepositions that clutter search results such as a, an, to, from, the, etc.
Language - MindTouch stems words based on your site's language, taking into account special characters in languages such as German, Russian and Spanish.
Underscores - If your search query contains words separated by underscores, MindTouch Search will find files that match any word in the query, but only pages that contain exact matches to the query
When you search a query with multiple words without double quotes, each word is searched for individually so some results may be ranked high despite not including all of the words in the query.
Read more about how to perform advanced searches in MindTouch.