HP RISS Components manual Boolean query expressions, Syntax Matches

Page 37

words of the sequence. A document matches a proximity word sequence if all words occur in the document in the same order, with at most N intervening words, where N is the proximity value.

For example, the sequence "bird garden stone"~3 matches any document that has these three words in this order, with bird and garden separated by no more than three words, and garden and stone separated by no more than three words. This sequence matches a document with the text a bird in the rose garden is near a stone because there are at most three words between successive sequence words. This sequence also matches a bird garden with a stone for the same reason.

Simple word sequences are a special case of proximity word sequences: ". . ." is the same as ".

. ."~0. Any documents found by ". . ."~N are also found by ". . ."~M, when M > N.

Boolean query expressions

You can combine words, fuzzy words, and word sequences using Boolean (logical) operators AND, OR, and NOT (these must be uppercase). The following table describes Boolean operators, where exp, exp1, and exp2 represents a word, fuzzy word, word sequence, or other Boolean query expression.

Table 10 Boolean query expressions

Syntax

 

Matches

 

 

 

NOT exp

 

all documents that do not match exp

alternative syntax:

- exp

 

alternative syntax:

! exp

 

 

 

 

exp1 OR exp2

 

all documents that match either exp1 or exp2

 

 

 

exp1 AND exp2

 

all documents that match both exp1 and exp2

alternative syntax: exp1 && exp2

 

alternative syntax: exp1exp2

 

 

 

 

NOTE:

The second alternative syntax for AND indicates that AND is the default connective in query expressions. You do not need to supply AND explicitly. It is assumed if neither AND nor OR is used explicitly. For example, the query peace quiet is equivalent to the query peace AND quiet.

A NOT expression must be combined, using AND or OR, with another expression other than NOT. A query cannot consist solely of negative criteria.

NOT quiet

illegal

 

 

(NOT quiet) AND (NOT blue)

illegal

 

 

NOT quiet AND blue

legal

 

 

NOT quiet OR nois*

legal

 

 

You must provide the proper number of arguments for a Boolean operator or an error message results: one argument for NOT (- or !), two arguments for AND (&& ) and OR. For example, the following queries result in an error message.

alpha NOT: Missing argument for NOT

AND alpha: Missing argument for AND

Boolean operators must be surrounded by one or more separators, typically white space. For example, the query peas&&carrots is not equivalent to the query peas && carrots; peas&&carrots is a single word (& is a word character).

Negation operators (- and !) are exceptions to this rule. They must be preceded by a separator, but they need not be followed by a separator. For example, carrot-a6is a single query word, but carrot -a6, like carrot (- a6), is equivalent to the Boolean expression carrot AND (NOTa6).

User Guide

37

Image 37
Contents HP Reference Information Storage System User Guide Version Page Contents Index Riss Outlook InterfaceFigures Tables Prerequisites Intended audienceRelated documentation HP technical support Document conventions and symbolsDocument conventions TIPOther web sites Subscription serviceProviding feedback About this guide Understanding document archiving Riss and RIMRIM applications Application What You Can DoIndexed document types Understanding searching and document indexingMessage Mime types advanced users User Guide Riss overview Logging in and out Using the toolbarUnderstanding the user interface User interface topics includeSearch basics Common tasksRiss Web Interface tasks Completing simple searchesTask Reference Completing advanced searches Search using the following fields on the Advanced SearchQuery Field Matches in the Document Additional advanced search query fieldsDisplaying query or search results Query Results page email content typeQuery results navigation bar Saving query or search results Saving query or search criteriaSave Results Exporting query or search results Sending query or search resultsFile Download dialog box Accessing saved results Accessing saved criteriaDeleting quarantine repositories Copying saved results to a quarantine repositoryTo search for multiple items, use the advanced search form Searching audit log repositoriesAdvanced Search page document content type Logged Action Description Logged actions and descriptionsQuery Field Matches Changing your password TroubleshootingProblems exporting results Changing your languageFolder Options dialog box Word characters Query expressionsWord characters and separators Letters and digits in different character setsRegular expression definition of English word characters Letters and digits definedMatching similar words Matching wordsSupported character sets Supported character Description SetFuzzy words Matching word sequencesMeasuring word similarity Simple word sequencesBoolean query expressions Boolean query expressionsSyntax Matches Query expression examples Nested Boolean query expressionsFollowing are examples of query expressions Query expression examplesInstalling the Outlook plug-in or OWA Setting up the Riss Outlook InterfaceSupported Outlook versions Riss Search Results folder Archived email messagesRiss Outlook user interface objects Objects DescriptionSearching for archived documents Accessing exported resultsRiss Outlook Interface tasks Displaying archived email attachments Using Cache ManagerCache Manager icons Icon DescriptionSetting offline cache options User account settingsRiss Outlook Interface administrator tasks Offline Cache Options dialog box Archive Options panel, Options dialog box Enabling offline cacheInformation on configuring EFS Clearing offline cache Setting host informationRiss Information dialog box Displaying the About optionsAbout dialog box Troubleshooting Problems loggingIndex Reference Information Storage System See MimeRIM
Related manuals
Manual 148 pages 28.04 Kb