Using HTML Help Search

8-Dec-2001: How many of us really know how to use the Full-Text Search features of HTML Help?
The following topic was extracted from MSDN Library - October 2001.

Additional Notes: Updated 5-Feb-2004

Finding Information with Full-Text Search

A basic search of topics consists of the word or phrase you want to find. You can use wildcard expressions, nested expressions, Boolean operators, similar word matches, the previous results list, or topic titles to refine your search.

To perform a full-text search

  1. In the navigation pane, click the Search tab and then type the word or phrase you want to find. Use the right-arrow button to add Boolean operators to your search.

  2. Click List Topics.

    Your search will return the first 500 hits. If you want to sort the topic list, click Title, Location, or Rank.

  3. Highlight the topic you want, and then click Display. (Alternatively, you can display any topic by double-clicking it.)

To refine a full-text search

You can refine a basic search by using wildcard expressions, nested expressions, and Boolean operators. You can also search only on the previous results list, request similar word matches, or search only the titles of topics in the table of contents.

To highlight words in searched topics

When searching for words in Help topics, you can specify that each occurrence of the word or phrase you searched for is highlighted in the topics that are found.

Search Syntax

The basic rules for formulating queries are as follows:

Note   If you are searching for a filename with an extension, you should group the entire string in double quotes ("filename.ext"). Otherwise, the search will treat the period as an OR operator.

Words, Phrases, and Wildcards

You can search for words or phrases and use wildcard expressions. The table below describes the results of these different kinds of searches.

Search for Example Results
A single word Select Topics that contain the word "select." (You will also find its grammatical variations, such as "selector" and "selection".)
A phrase "new operator"


'new operator'

Topics that contain the literal phrase "new operator" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying a new AND operator, which will find topics containing both of the individual words, instead of the phrase.
Wildcard expressions Esc* Topics that contain the terms "ESC," "escape," "escalation," and so on. The asterisk cannot be the only character in the words.
  80?86 Topics that contain the terms "80186," "80286," "80386," and so on. The question mark cannot be the only character in the term.
  *86 Topics that contain the terms "386," "486," "x86," "QEMM386," "8086," and so on.

Operators: AND, OR, NOT, and NEAR

The AND, OR, NOT, and NEAR operators allow you to refine your search. The following table shows how to use each of these operators.

Search for Example Results
Both terms in the same topic dib AND palette


dib & palette

Topics containing both the words "dib" and "palette."
Either term in a topic raster OR vector


raster | vector

Topics containing either the word "raster" or the word "vector."
The first term without the second term ole NOT dde


ole ! dde

Topics containing the word "OLE," but not the word "DDE."
Both terms in the same topic, close together user NEAR kernel Topics containing the word "user" within eight words of the word "kernel."

Rules for Nested Expressions

The basic rules for searching topics using nested expressions are as follows:

Additional Notes

Q. Is searching for umlauts broken?

Posted in the MS Newsgroup:

Some of our European users have noted the following problem: The search facility disregards the difference between so-called "accented" characters and the "normal" English characters. That is, "ü" is evaluated the same as "u", "é" is the same as "e" and so forth. Thus, searching for "Müller" yields exactly the same results as "Muller"--except that in the latter hits, the word "Müller" is never highlighted. (There are, by the way, no problems rendering these characters in any of the European languages--or even Japanese.)

A. Depends on how you define broken.

From the MS help team:

This is a known issue. The search part is a feature and the highlight part is a limitation of the web browser control (or at least the way we use it).