Using the search tab
Rulefinder includes a Search tab that allows you to search through every word in
Rulefinder to find a match. For example, if you perform a full-text search on the
word "immersion", every topic that contains the word “immersion" is listed. You can
precisely define a search by using wildcard expressions, nested expressions, and
Boolean operators. You can request similar word matches, search only the topic
titles, or search the results of an earlier search.
Figure 5 Example of advanced "AND" search for "immersion AND suit"
All instances of search terms that are found in the topic files can appear
highlighted. To specify highlighting, click the Options button, and then click
Search Highlight On. If you are viewing a long topic, only the first 500 instances
of a search word or phrase are highlighted.
Searching for topics
A 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:
- Searches are not case-sensitive, so you can type your search in uppercase or
lowercase characters.
- You can search for any combination of letters (a-z) and numbers (0-9).
- Punctuation marks such as the period, colon, semicolon, comma, and hyphen are
ignored during a search.
- Group the elements of your search using double quotation marks or parentheses to
set apart each element. You cannot search for quotation marks.
To find information with full-text search:
1. Click the Search tab, and then type the word or phrase you want to
find.
2. Click the arrow button to add Boolean operators to your search.
3. Click List Topics, select the topic you want, and then click Display.
4. To sort the topic list, click the Title, Location, or Rank column
heading.
Note: The ranking of topics under the Rank column is not determined by any
standard (for example, alphabetical order or most hits). Do not use the ranking to
determine which topics to view.
Searching for words or phrases
You can search for words or phrases and use wildcard expressions. Wildcard
expressions allow you to search for one or more characters using a question mark or
asterisk. The table 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
|
"safety valve" or safety valve
|
Topics that contain the literal phrase "safety valve" and all its
grammatical variations. Without the quotation marks, the query is
equivalent to specifying "safety AND valve", which will find topics
containing both of the individual words, instead of the phrase.
|
| 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.
|
Select the Match similar words check box at the bottom of the Search tab to include
minor grammatical variations for the phrase you search.
Defining search terms
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 an operator is not specified, AND is used. For
example, the query "spacing border printing" is equivalent to "spacing AND border
AND printing".
| Search for
|
Example
|
Results
|
| Both terms in the same topic.
|
immersion AND suit
|
Topics containing both the words "immersion" and "suit".
|
| Either term in a topic.
|
testing OR certification
|
Topics containing either the word "testing" or the word
"certification" or both.
|
| The first term without the second term.
|
anchor NOT cable
|
Topics containing the word "anchor", but not the word "cable".
|
| Both terms in the same topic, close together.
|
specification NEAR rope
|
Topics containing the word "specification" within eight words of
the word "rope".
|
The characters |, &, and ! do not work as Boolean operators (you must use OR,
AND, and NOT).
Note: You must define a search phrase that begins with AND, OR, NOT, or NEAR
with double quotation marks; otherwise, these words are interpreted as operators,
and the search cannot be performed. For example, a search for the phrase NOT FOR
REPLICATION returns an error message, and a search for the phrase "NOT FOR
REPLICATION" succeeds.
Using nested expressions when
searching
Nested expressions allow you to create complex searches for information. For example,
"control AND (active OR system) NEAR window" finds topics containing the word
"control" along with the words "active" and "window" close together, or containing
"control" along with the words "system" and "window" close together.
The basic rules for searching Help topics using nested expressions are:
You can use parentheses to nest expressions within a query. The expressions in
parentheses are evaluated before the rest of the query.
If a query does not contain a nested expression, it is evaluated from left to right.
For example: "Control NOT active OR system" finds topics containing the word
"control" without the word "active", or topics containing the word "system". On the
other hand, "control NOT (active OR system)" finds topics containing the word
"control" without either of the words "active" or "system".
You cannot nest expressions more than five levels deep.
To search only the last group of
topics from a previous search
This feature enables you to narrow a search that results in too many topics found.
You can search through your results list from a previous search by using this
option.
On the Search tab, select the Search previous results check box.
Click List Topics, select the topic you want, and then click Display.
If you want to search through all of the files in Rulefinder, this check box must be
cleared. If you have previously used this feature, when you click the Search tab,
this check box will be selected.
To find words similar to your
search term
This feature enables you to include minor grammatical variations for the phrase you
search. For example, a search on the word "add" finds "add", "adds", and "added".
Click the Search tab, type the word or phrase you want to find, and then select the
Match similar words check box.
Click List Topics, select the topic you want, and then click Display.
This feature locates only variations of the word with common suffixes. For example, a
search on the word "add" finds "added", but it does not find "additive".
Figure 6 Advanced search box options