×

Troubleshooting missing search results

 
If your search results don't include words that you know are present in your content, this is usually caused by a language mismatch between your content and the HTML export settings.
 

What's happening

 
Search engine uses language-specific rules to find related words. For example, in English, searching for "think" will also find "thought", "thinking", and "thinks". However, if your content is in English but the HTML export's language setting is set to "German", the search engine won't recognize these connections.
 

Example:

  • Your topic contains the word "thought".
  • You search for "think".
  • The topic is missing in search results.
 
This happens because the content's "language" setting is set to "German" instead of "English", and the search engine is using the German search algorithm that doesn't recognize that "thought" and "think" are related.
 

How to fix it

 
Follow these steps to set the correct language:
 
  • Open your Dr.Explain project in the Dr.Explain application.
  • Go to menu Project -> Project Settings.
  • Click HTML export in the left panel.
  • Find the Language drop-down list on the right.
  • Select the language that matches your content.
  • Click OK to save.
  • Re-export your project to HTML and publish exported files to your web server.
  • Test the search again.
 

Important notes

 
  • Match the language: make sure the language setting matches the main language of your documentation.
  • Multiple languages: if your content contains text written in different languages, specify the primary language in the Language drop-down list. The full text search functionality will be available for that language, and searching for words written in other languages will be done on a best-effort basis.
  • Re-indexing: after changing the language and re-exporting, the search index will be rebuilt automatically, which might take a few minutes.
Made by Dr.Explain, software documentation tool