MDAC 2.5 SDK - Overview of the MDAC SDK
Advanced full-text search allows you to search using Boolean, wildcard, and nested expressions. You can also limit the search to previous results, match similar words, or search topic titles only.
Click the following links to learn more about full-text search:
Finding Information Using Advanced Full-Text Search
Searching for Words or Phrases
Using Nested Expressions When Searching
A basic search consists of the word or phrase you want to find. You can use wildcard expressions, nested expressions, Boolean operators, similar word matches, a previous results list, or topic titles to further define your search.
The basic rules for formulating queries are as follows:
Note If you are searching for a file name with an extension, you should group the entire string in double quotes, like so: "filename.ext". Otherwise, the period will break the file name into two separate terms. The default operation between terms is AND, so omitting the quotes will search for the logical equivalent of "filename AND ext."
Notes
You can search for words or phrases and use wildcard expressions. These expressions allow you to search for one or more characters by using a question mark (?) or asterisk (*). The following table describes the results of different kinds of searches.
Search | Example | Results |
For a single word | select | Topics that contain the word "select." (You will also find grammatical variations, such as "selector" and "selection.") |
For a phrase | "new operator" -or- 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 "new AND operator," which will find topics containing both of the individual words, instead of the designated phrase. |
Using wildcard expressions | esc* -or- 80?86 |
Topics that contain the terms "ESC," "escape," "escalation," and so on. The asterisk cannot be the only character in the term.
Topics that contain the terms "80186," "80286," "80386," and so on. The question mark cannot be the only character in the term. |
Note Select the Match similar words check box at the bottom of the pane to return minor grammatical variations of a phrase.
The AND, OR, NOT, and NEAR operators enable you to precisely define your search by creating a relationship between search terms. The following table shows how you can use each of these operators. If no operator is specified, AND is used. For example, the query "spacing border printing" (typed without quotes) is equivalent to "spacing AND border AND printing."
Search for | Example | Results |
Both terms in the same topic | dib AND palette | Topics containing both the words "dib" and "palette." |
Either term in a topic | raster OR vector | Topics containing either the word "raster" or the word "vector" or both. |
The first term without the second term | ole NOT dde | Topics containing the term "OLE," but not the term "DDE." |
Both terms in the same topic, close together | user NEAR kernel | Topics containing the word "user" within eight words of the word "kernel." |
Note The |, &, and ! characters don't work as Boolean operators. You must use OR, AND, and NOT.
Nested expressions allow you to create complex searches for information. For example, "control AND ((active OR dde) NEAR window)" finds topics containing the word "control" along with the words "active" and "window" close together, or containing "control" along with the terms "DDE" and "window" close together.
The basic rules for searching help topics using nested expressions are as follows: