Searching in the Table of Contents
In the table of contents there are two ways to search the online help content:
- Simple text only search
- Detailed index and weighted search
Both mechanisms search as you type and immediately display results although the detailed search may be slow on the first hit as it downloads a search index for the first hit:
Here's more info on how these two modes work:
This is a text only based search that simply finds matching text in the title text of the topics displayed in the table of content. It only does exact matches for the text typed into the search box.
Simple search is quick and works well for most common search situations and it's the default search mechanism.
This is an indexed search that uses a generated
SearchIndex.js file that contains most of the help file's content including title, body, keywords and id. The results are weighted based on occurrance of the search term(s) and you can use multiple search terms and some limited filtering.
Detailed search supports multiple search terms separated by spaces. By default if one of the search terms matches the topic is selected.
Unlike the Simple search, the results of the Detailed search are weighted based on the number of occurrences of search term(s) and location in the topic.
You can explicitly require that specific search terms are present in a topic to match, by using the
+ prefix on the search term. For example:
+visual addin in the screen shot above which means only topics that include the word
visual will be selected.
The Detailed search is based on a LunrJs index which is created form a
SearchIndex.js file generated by Help Builder during Output Generation. This topic index is fed to LunrJs which turns it into a searchable index that is queried with your search terms.
For more info on LunrJs and its search syntax:
You can easily toggle between search modes using the drop down on the search box, which is quick and simple.
By default Simple search is used because it's quick and doesn't require indexing which on large help projects can be slow as the index has to be downloaded and processed. Simple search is quick and works for most scenarios if you're just looking for a single keyword that can be matched in topic titles.
Use the Detailed search if Simple doesn't return the results you're looking for, returns too many results, or your search relies on search terms in topic content rather than the title only.
Comment or report problem with topic