There are a couple of manual settings and switches you can use to change the way that full-text search works in Webhelp. These aren't absolutely essential but they can be useful for advanced users to fine-tune search performance.
For full details on all the standard search configuration settings please refer to Full Text Search in the Project Properties section.
HTML files with names beginning with an underscore (_myfile.htm) are not indexed for searching. You can use this knowledge to exclude both topics and other files from your Browser Help search index (i.e. files not generated by Help & Manual).
|
Out of the box the full-text search feature in Webhelp indexes everything in the page, including all the text in the header. When the user executes a search the header text gets displayed at the beginning of the "excerpt" for each topic displayed in the list of search results. You can change this with two switches that turn indexing on and off in your HTML templates. These can be used to exclude the both the header itself and the header information from the index, which means that the excerpts will begin with the actual text of your topics. Here's how to do it:
<!--ZOOMSTOP-->
<!--ZOOMRESTART--> That's it. When you recompile everything in the header will be excluded from the index and the excerpts. You can also exclude parts of individual topics from the search index. To do this just use the Insert - HTML Code function to insert the stop and start switches before and after the text you want to exclude. |
See also:
The Search template for Browser Help (Using HTML Templates)
Full Text Search (Configuration Options)
Page url: http://www.helpandmanual.com/help/index.html?hm_working_configoutput_html_search.htm