#### 19.10.6 Excluding search terms

When you generate OmniHelp, DITA2Go builds a search index that includes all the words in the converted files, except for a list of words to be excluded. DITA2Go 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, DITA2Go excludes from the search index the default words and any words listed in the [StopWords] section of your configuration file.

When UseDefaultStopWords=No, DITA2Go 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.

Previous Topic: 19.10.5 Specifying length of search terms

Next Topic: 19.10.7 Excluding content from being searched

Parent Topic: 19.10 Configuring full-text search for OmniHelp

Sibling Topics:

19.10.1 Understanding how OmniHelp FTS works

19.10.2 Generating search data

19.10.3 Making compound terms searchable

19.10.4 Supporting search for non-ANSI text

19.10.5 Specifying length of search terms

19.10.7 Excluding content from being searched

19.10.8 Using regular expressions in search

19.10.9 Highlighting search terms found in topics