Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

10 Generating OmniHelp > 10.10 Configuring full-text search for OmniHelp > 10.10.6 Excluding search terms


10.10.6 Excluding search terms

When you generate OmniHelp, Mif2Go builds a search index that includes all the words in the converted files, except for a list of words to be excluded. Mif2Go applies an internal list of words to exclude:

[StopWords]

;about after again all already also always and any are been but can

;did does doing each for from has have having its may maybe might not

;see than that the their them then these they this those too use used

;uses using very want was when where which will with would you your

You can add your own list of words to exclude, or provide an alternate list, in the [StopWords] section of your OmniHelp configuration file.

To specify which list(s) of words to exclude from the search index, set the following option:

[OmniHelpOptions]

; UseDefaultStopWords = Yes (use default set, plus any added in your

;  own [StopWords]) or No (use your own words only)

UseDefaultStopWords=No

When UseDefaultStopWords=Yes, Mif2Go excludes from the search index the default words and any words listed in the [StopWords] section of your configuration file.

When UseDefaultStopWords=No, Mif2Go excludes only words listed under [StopWords] in your configuration file.

To augment the [StopWords] list after you generate OmniHelp, open myproj_ohs.js in a text editor, and copy unwanted words to the [StopWords] section of your project configuration file.



10 Generating OmniHelp > 10.10 Configuring full-text search for OmniHelp > 10.10.6 Excluding search terms