Skip navigation links (access key: Z)Library and Archives Canada / Bibliothèque et Archives CanadaSymbol of the Government of Canada
Français - Version française de ce siteHome - The main page of the Institution's websiteContact Us - Institutional contact informationHelp - Information about using the institutional websiteSearch - Search the institutional websitecanada.gc.ca - Government of Canada website


Banner: Canadian Poetry Archive

Search Help

The following conventions are used in this document:

  • in examples, search terms and phrases are indicated in fixed width characters (e.g., my query)
  • in reference to query examples or specific search terms of a query, single quotation marks are used.
  • special characters and search operators are indicated in italics throughout.

Most search words can be entered as is.

e.g., art ontario
national library of canada
(would find any record containing all of these words)

Search terms may be entered in upper or lower case, with or without accents. The default search operator is and.

To create a phrase, or to include special characters as search terms, words must be enclosed within double quotation marks.

The following words are search operators:

and, or, not, near, accum, equiv, minus The following characters also have special significance:

"  (  )  {  }  &  |  ,  =  ~  ;  -  ' [  ]  *  >  :  $  !  ? #

A search term or phrase containing any of the above words or characters must be enclosed within double quotation marks.

Examples:
  • "national library of canada" (precise phrase search)
  • "piano man's daughter"
  • "e=mc2"
  • "boom and bust".

In the above examples, the search term 'piano man's daughter' contains the apostrophe character ('), and therefore the term must be enclosed within double quotation marks.  For the same reason 'e=mc2' must be enclosed in double quotation marks because of the '=' character. Similarly, 'boom and bust' contains the search operator word 'and'.

Search operators can be used to enhance searching.

and  ( & )     - e.g., "group of seven"and thomson

or    ( | )       - e.g., "art gallery of ontario" | ago

not  ( ~ )      - e.g., great lakes not michigan

near ( ; )      - e.g.,  lake ; superior

For each of the above search operators, the symbolic equivalent is indicated in parentheses.  Near  is good for finding documents that contain the name of people or places, or for phrases where two terms are related in a certain way.  Near cannot be used in combination with an and or or search.  For example, the query '(native or aboriginal) near art' returns an error: but '(native near art) or (aboriginal near art)' works.  (More search operators exist and are described under search tips for advanced searching.)

Search Operators have an order of precedence.

Query expressions are evaluated in order from left to right according to operator precedence.  Operators with a higher precedence are applied first.  The following search operators are ranked in order of precedence from highest to lowest: near, and, or, not.

The following examples show how operator precedence works:

native near art and eastern canada In the above example 'native' is searched near 'art' and the result is combined with 'eastern canada' by the and operator.

native or aboriginal and eastern canada The above search query will do what may not be expected.  The search term 'aboriginal' is first searched where 'eastern canada' occurs in the same document(s), and the result is then combined with 'native' using the or operator. 

An easy way to avoid this problem is to enclose search expressions within parentheses, as in the following:

(native or aboriginal)and eastern canada Search expressions within parentheses are evaluated first, regardless of operator precedence.  (However, multiple expressions within parentheses will still follow the order of operator precedence.)

To avoid getting inappropriate search results, use parentheses for complex search expressions.



Proactive Disclosure