A description of which boolean operators work in searches in Webhelp.
WebHelp supports the use of boolean operators in searches. Here is a list of the boolean operators that work in the search, as well as some examples and notes.
Description | Variable | Example |
---|---|---|
Search for one or more words. When a group of words are entered into the search field, "or" is inferred. | cat dog mouse | |
Search for a phrase. Note: The search engine ignores certain commonly used words. For example, a, an, the, of, to, be, you, your, when, however, for, that, can (and more). If your search results are not successful, trim out some of the less important words. |
" " (wrap a text string in quotes) |
Successful: Unsuccessful: |
Search for "either of" or "any of" specific strings. |
OR (case insensitive) | (pipe symbol) |
cat or dog or mouse "windy day"|"cumulous cloud" |
Search for two or more specific strings. |
AND (case insensitive) + (plus symbol) & (ampersand) |
cat And dog "windy day"+rain "noodle soup"&"animal crackers" |
Search for all topics that do not contain something. |
NOT (case insensitive) ! (exclamation mark) |
not fish ! flood |
Search for all topics that contain one string and do not contain another. | ^ (carat symbol) | cat ^ mouse |
Combinations of the above. | ( ) parenthesis |
cat and (dog or mouse) cat or dog (! fish) |
Note: Results returned are case insensitive. However, results RANKING takes case into account and assigns higher scores to case matches. Therefore, a search for �templates� followed by a search for �Templates� would return the same number of help topics, but the order in which the topics are listed would be different.
Last updated: July 13, 2007 |
Author: Wendy Studinski |
Contributions by: Neal Pozner, Aaron Morgulis |
Copyright � 2007 MadCap Software Inc. All rights reserved.
(Madcap is the maker of Flare, the Help authoring tool that made this help, and this page is borrowed from their knowledge base.)