Skip to main content
MindTouch Success Center

Search query logic

Each search query is analyzed by the MindTouch search technology. This includes stemming and taking into account your site's language.

When users search for specific phrases, MindTouch returns results based on your actual search query, and (optionally) facets the results to be confined to a specific section. How do we analyze your query?

MindTouch adaptive search

MindTouch has a built in learning algorithm that ensures the most relevant articles appear at the top of the search results. MindTouch automatically indexes content and weighs it according to the default algorithm that considers page title, content, tags, and attachments.

Adaptive search factors

  • Page rating - As each article gets rated up or down, it impacts search results rankings.  
  • Search results navigation - The search algorithm adjusts article relevancy based on how often users do or do not view articles from search results.

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 catcats 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

  • Was this article helpful?