HP RISS Components manual Nested Boolean query expressions, Query expression examples

Page 38

Nested Boolean query expressions

You can nest Boolean query expressions using Boolean expressions as arguments of Boolean expressions. For example, the following query searches for documents containing bird, but not garden or stone:

bird AND NOT (garden OR stone)

Query expression examples

The following are examples of query expressions.

Table 11 Query expression examples

Query expression

Finds documents with ...

 

 

peace OR quiet

Either peace or quiet, or both, in either order.

peace quiet

Both peace and quiet, in either order.

peace AND quiet

 

peace && quiet

 

peace&&quiet

The single word peace&&quiet.

peace or quiet

The three words peace, or, and quiet, in any order. or is a word. The

 

OR operator must be uppercase.

not quiet

The words not and quiet. The NOT operator must be uppercase.

NOT quiet

Illegal. A query cannot be purely negative and must have some positive

 

expression.

peace & quiet

The three words peace, &, and quiet, in any order. & is a word

 

character. The AND operator is implied.

peace quiet

Both peace and quiet. is a separator. The AND operator is implied.

peace AND NOT quiet

The word peace but not quiet.

peace && -quiet

 

-quiet && peace

 

peace AND quiet OR

Avoid using. Parentheses are needed: peace AND (quiet OR

silence

silence).

quiet OR silence AND

Avoid using. Parentheses are needed: quiet OR (silence AND

peace

peace).

pea*

Any word starting with pea such as: pea, peas, peace, or peach.

pea*c*

Words such as: peace, peach, or peaches.

"peace quiet"

Both peace and quiet, in that order, with no intervening words.

 

Examples: peace quiet or peace $^%+{} quiet.

"peace quiet"~1

Both peace and quiet, in that order, separated by at most one word.

 

Examples: peace and quiet; peace, now;%^$ quiet; peace quiet; or

 

peace george quiet.

 

 

peace~

Words similar to peace such as: peaches, piece, place, or plate.

(peace quiet)

Both peace and quiet, but not peace followed immediately by quiet.

AND

Examples: quiet peace; quiet blue peace; or peace, water, land, quiet.

NOT "peace quiet"

 

38 Query expression syntax and matching

Image 38
Contents HP Reference Information Storage System User Guide Version Page Contents Riss Outlook Interface IndexFigures Tables Related documentation Intended audiencePrerequisites Document conventions Document conventions and symbolsHP technical support TIPProviding feedback Subscription serviceOther web sites About this guide RIM applications Riss and RIMUnderstanding document archiving Application What You Can DoMessage Mime types advanced users Understanding searching and document indexingIndexed document types User Guide Riss overview Understanding the user interface Using the toolbarLogging in and out User interface topics includeCommon tasks Search basicsTask Reference Completing simple searchesRiss Web Interface tasks Search using the following fields on the Advanced Search Completing advanced searchesAdditional advanced search query fields Query Field Matches in the DocumentQuery Results page email content type Displaying query or search resultsQuery results navigation bar Saving query or search criteria Saving query or search resultsSave Results Sending query or search results Exporting query or search resultsFile Download dialog box Accessing saved criteria Accessing saved resultsCopying saved results to a quarantine repository Deleting quarantine repositoriesSearching audit log repositories To search for multiple items, use the advanced search formAdvanced Search page document content type Query Field Matches Logged actions and descriptionsLogged Action Description Problems exporting results TroubleshootingChanging your password Changing your languageFolder Options dialog box Query expressions Word charactersRegular expression definition of English word characters Letters and digits in different character setsWord characters and separators Letters and digits definedSupported character sets Matching wordsMatching similar words Supported character Description SetMeasuring word similarity Matching word sequencesFuzzy words Simple word sequencesSyntax Matches Boolean query expressionsBoolean query expressions Following are examples of query expressions Nested Boolean query expressionsQuery expression examples Query expression examplesSupported Outlook versions Setting up the Riss Outlook InterfaceInstalling the Outlook plug-in or OWA Riss Outlook user interface objects Archived email messagesRiss Search Results folder Objects DescriptionRiss Outlook Interface tasks Accessing exported resultsSearching for archived documents Cache Manager icons Using Cache ManagerDisplaying archived email attachments Icon DescriptionRiss Outlook Interface administrator tasks User account settingsSetting offline cache options Offline Cache Options dialog box Information on configuring EFS Enabling offline cacheArchive Options panel, Options dialog box Setting host information Clearing offline cacheDisplaying the About options Riss Information dialog boxTroubleshooting Problems logging About dialog boxIndex See Mime Reference Information Storage SystemRIM
Related manuals
Manual 148 pages 28.04 Kb