Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
Query Operators, 13 of 26
Use the OR operator to search for documents that contain at least one occurrence of any of the query terms.
Syntax | Description |
---|---|
term1 or term2 |
Returns documents that contain term1 or term2. Returns the maximum score of its operands. At least one term must exist; higher score taken. |
For example, to obtain the documents that contain the term cats or the term dogs, use either of the following expressions:
'cats | dogs' 'cats OR dogs'
In an OR query, the score returned is the score for the highest query term. In the example above, if the scores for cats and dogs is 30 and 40 within a document, the document scores 40.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|