OneStat.com Web Analytics USDC - District of New Hampshire - Compound Queries
  Print Page
Compound Queries
   

Home < Opinions/Orders < Compound Queries

The following is a list of operators that can be used in constructing compound queries. Examples are also included:

AND

  • Locates documents which contain both of the entered words or phrases.
    E.g. record AND sales
  • OR

  • Locates documents which contain any one of the entered words or phrases.
    E.g. team leader OR supervisor
  • NOT

  • Locates documents which contain the first word or phrase, but not the second.
    E.g. record NOT expense
  • XOR

  • Locates documents which contain either the first word or phrase, or the second, but not both.
    E.g. network XOR performance
  • EXCEPT

  • Locates documents in which the first word or phrase appears, but only if the second word or phrase is not in the same paragraph as the first.
    E.g. performance EXCEPT speed
  • . . .

  • Locates documents where the first word or phrase is followed anywhere by the second. Both words or phrases may occur more than once, but the second one must occur after the first.
    E.g. legal brief ... Kramer vs Kramer
  • . .

  • Locates documents where the first word or phrase is followed by the second word or phrase. The words or phrases will be in pairs.
    E.g. legal brief .. Kramer vs Kramer
  • \x,y\

  • Locates documents where both words or phrases occur within the specified number of paragraphs of each other. X and y represent the minimum and maximum separation respectively. Use the form \\ to specify "within a paragraph of". You can also specify negative values.
    E.g. expense account \\ executive
  • /x,y/ or W/n

  • Locates documents where both words or phrases appear in the same paragraph, within the number of words specified by x and y, or n. X and y represent the minimum and maximum separation respectively. Use the form // to specify "in the same paragraph". You can also specify negative values.
    E.g. section twelve // ruling
  • TO

  • Specifies an alphabetic, date or numeric range.
    E.g. A123 TO A456
    will find "A123, A124, A125"...and so on to "A456".
  • AFTER

  • Locates documents which contain a date after that specified. It is used in conjunction with the Intelligent Date Handling database configuration option.
    E.g. AFTER Jan 1 1994 or AFTER 20/9/94
  • BEFORE

  • Locates documents which contain a date before that specified. It is used in conjunction with the Intelligent Date Handling database configuration option.
    E.g. BEFORE 25 Dec 1994 or BEFORE November 23, 1994
  • See Also:

    Additional Query Features

    Top of Page