This feature is supported in DotNet Help, HTML Help, WebHelp, WebHelp Plus, WebHelp AIR, and WebHelp Mobile output.
When your end users need to find specific information in your project, the three most common methods they use are: the search feature, a table of contents (TOC), and an index.
You can add the search feature to any of your online output targets. When users want to find information about a specific subject, they enter key words in the Search field. A search engine looks through every topic in your project to find the term(s) entered by the user. When it finds the terms, it presents the user with a list of topics to open. Search results are ranked, not listed alphabetically.
The search feature is good because it is very thorough. However, it also might return several topics that contain the search terms but are not really relevant for the user's needs. That is why creating an index is also important.
Following are the basic steps for adding the search feature for your end users:
Note: For DotNet Help the MadCap Help Viewer supports wildcard searches on Microsoft Windows XP (and newer operating systems) when SQL Compact is installed
This means that you can perform wildcard searches in Flare's online Help. In addition, if you distribute DotNet Help output and the MadCap Help Viewer to your users, they can perform wildcard searches in your Help system. The search response is also faster with this option.
To set this option, open the target, select the Performance tab of the Target Editor, and select Include SQL Search Database.
Note: If end users want to find a specific combination of words that are always next to each other in the same order (e.g., content management system), they can enter the search keywords within quotation marks (e.g., "content management system").
Note: Wildcard searches are supported in DotNet Help output only.
Following are some additional features of search that may be available to you. Some of these features are available if you integrate your project with MadCap Feedback, and others are available if you use the WebHelp Plus output:
Reports on search keywords With MadCap Feedback, you can determine how readers are using search in your online output. This helps you answer questions such as: What are they looking for? What are they finding? And more importantly, what are they unable to find? You can use Feedback Explorer to view all used search phrases, as well as searches where no results were returned to the user.
Creating synonyms If users enter search phrases in your online output and those phrases are not returning results, this does not need to be the end of the story. You can make improvements to your output so that, in the future, users are able to find the search results they need. One way to make an enhancement is to add the information that your users are looking for (if that information does not yet exist in your Flare project). Another way to enhance your output is to create synonyms for search phrases.
You can create synonyms within the Flare project or within Feedback Explorer (which is used with MadCap Feedback). It is not mandatory that you have MadCap Feedback in order to use synonyms in Flare output, but using MadCap Feedback makes it much easier to determine which words require synonyms based on the search results of your users. Using Feedback Explorer to create synonyms is appealing because the synonyms become immediately available for users searching in your output (without needing to republish the output). Be aware, however, that creating synonyms in Feedback Explorer works for the Feedback output as long as you continue to publish output to the same server. If you create synonyms in Feedback Explorer, it is recommended that you also create those synonyms at the source (i.e., within the Flare project), in case you ever publish to a different server. The easiest way to do this is to export the synonym file from Feedback Explorer to the Project\Advanced folder in the Flare project. See Feedback Explorer online Help for more information and steps on how to export synonym files.
example
Let's say that you view search keyword results from your users and find that many are entering the search term "sofa." Unfortunately, you have not used that word in your project, so users are unable to find the topics that they need. However, you have used a similar word, "couch." Therefore, in the Synonyms Editor, you enter "couch" as a synonym for "sofa." The next time a reader enters "sofa" as a search keyword, topics containing the word "couch" will be returned in the results.
Note: After you create synonyms, there is nothing else you need to do in order to make them available in the output. If you create synonyms in Flare, they are automatically applied at the project level, so all targets will incorporate those synonyms when you generate and publish the new Flare output. If you also have MadCap Feedback and create the synonyms in Feedback Explorer instead, the synonyms become immediately incorporated into the output (even if you do not republish your Flare target). Please note that if you are testing synonyms in Feedback Explorer, you may need to refresh the interface to see the changes
For more information about performing this task in Flare, see Creating Synonyms to Enhance Search Results. For more information about performing this task in Feedback Explorer, see the online Help provided with that application.
Faster searching Another benefit of generating and publishing WebHelp Plus output to a Web server running Microsoft IIS is that users will find the task of performing a search to be much faster than it is otherwise. This is especially useful if you have a very large Help system.
Note: If you are generating WebHelp Mobile output, please note that search is not supported in Palm operating systems.
Note: If you have problems with search working in HTML Help output, you might need to register a dll file called "RegisterItcc.bat." This may occur if you previously had a program such as RoboHelp installed and then uninstalled it. As a result, the dll file was unregistered. Following are the necessary steps for registering the dll file, depending on whether you are working in 32-bit or 64-bit.
To register the dll in Windows:
In Windows Explorer find and double-click the following file:
C:\Program Files\MadCap Software\MadCap Flare V7\Flare.app\Resources\Bin\RegisterItcc.bat
To register the dll in 32-bit Windows 7:
1. In Windows Explorer navigate to the Resources/Bin folder where you installed Flare (e.g., C:\Program Files\MadCap Software\MadCap Flare V7\Flare.app\Resources\Bin).
2. Right-click on RegisterItcc.bat and select the option to run it as an administrator.
To register the dll in 64-bit Windows 7:
1. In Windows Explorer navigate to C:\WINDOWS\system32.
2. Right-click on the file cmd.exe and select the option to run it as an administrator. The command prompt window opens.
3. At the command prompt, type the following and press Enter:
"C:\Program Files (x86)\MadCap Software\MadCap Flare V7\Flare.app\Resources\bin"
4. Type RegisterItcc.bat and press Enter.
5. Close the command prompt window.