Contents

Search Basics
Automatic "and" Queries
Phrase Searches
Search Syntax Examples
Search Syntax Short Cuts
Searching Reserved
Words

Combining Search
Operators

Using and Combining
Search Fields

Date Searching
 Search Basics
Automatic "and" Queries

By default, the OSHA search only returns pages that include all of your search terms. There is no need to include "and" between terms. For example (noise hearing) is equivalent to (noise AND hearing). Keep in mind that the order in which the terms are typed will affect the search results. To restrict a search further, just include more terms.

Back to TopBack to Top
Phrase Searches

Search for complete phrases by enclosing them in quotation marks. Words enclosed in double quotes ("noise control") will appear together in all results exactly as you have entered them. Phrase searches are especially useful when searching for sayings or proper names.

Back to TopBack to Top
Search Syntax Examples
Searching for ... Returns documents containing:
ergonomics The word ergonomics.
"occupational illness" The entire exact phrase occupational illness.
occupational illness The words occupational AND illness.
occupational AND illness The words occupational AND illness.
exposure OR access Either the word exposure or access.
injury NOT hospital The word injury, but not the word hospital.
s%m Words beginning with s and ending with m with any number of characters between (e.g. system, spectrum).
p_t; p__t; … Words beginning with p and ending with t that contain the exact number of characters between (e.g. p_t finds pit, pat, pot; while p__t finds part, past, pest, etc.).
%ing Words ending with ing (e.g. parking, working, etc.).
dist% Words beginning with dist (e.g. distribute, distribution, distributing, etc.).
%park% Words containing the string park (e.g. spark, sparks, parks, parking, etc.).
1926% References to any 1926 standard, (e.g. 1926.4, 1926.553, 1926.54(j)(2)).
cat NEAR dog The words cat and dog near each other. The closer they are the higher the score.
pre-existing Hyphenated phrases are OK.
John’s Words with apostrophes are OK.
1910.1000; corp.; etc. Periods are OK.
$distinguish Stem search. Returns word variations such as distinguish, distinguishes, distinguished (not all words are in the thesaurus).
high=low voltage The phrase voltage with either high or low.

Back to TopBack to Top
Search Syntax Short Cuts
Operator (Reserved Word): Reserved Character: Example:
And (AND) & illness & injury
Or (OR) | illness | injury
Not (NOT) ~ illness ~ injury
Near (NEAR) ; cat ; dog
Wildcard - Multiple Characters % s%m
Wildcard - Single Character _ p_t, p__t, p___t, etc.
Stem $ $distinguish
Equivalence = high=low voltage

Back to TopBack to Top
Searching Reserved Words

To query on words and symbols that are reserved (e.g. "and", "&", "or", etc.), they must be surrounded quotes ("). Everything within a set of quotes is considered an exact search phrase. The reserved words and symbols in the following examples are elements of each search phrase and not search operators.
  Examples: Search Phrases:
  “floor and wall” floor and wall
  “dipping or coating” dipping or coating
  “degreasing, cleaning” degreasing, cleaning

Back to TopBack to Top
Combining Search Operators...

Queries can be refined by combining search operators to retrieve the desired documents from the database. When combining operators, the AND (&) operator has a higher precedence than the OR (|) operator as shown in the examples below. Parentheses can and should be used to clarify and/or specify the order of evaluation of the search terms.
  Examples: Order of Evaluation:
  w1 | w2 & w3 w1 | ( w2 & w3)
  w1 & w2 | w3 (w1 & w2) | w3
  w1 & w2 ~ w3 (w1 & w2) ~ w3
  (w1 ; w2) & (w3 | w4) ~ w5 ((w1 ; w2) & (w3 | w4)) ~ w5

In the first example, because AND (&) has a higher precedence than OR (|), the query returns all documents that contain w1 and all documents that contain both w2 and w3.

In the second example, the query returns all documents that contain both w1 and w2 and all documents that contain w3.

In the third example, the query returns all documents that contain both w1 and w2 but not w3.

In the forth example, the query returns all documents that contain both w1 and w2 near each other and also either w3 or w4 but not w5.

Back to TopBack to Top
Using and Combining Search Fields...

The Text field search finds a word or phrase within the text of a document.

Most data collections have additional fields, besides the text, which can be searched. For example: Standard Number, Date, and Document Type. The table of contents page of a data collection displays the text search field and another applicable field for that collection if there is one. If there are more than two search fields, they can be accessed by clicking on the "Advanced Search" link. The "Advanced Search" link is only displayed if there are other searchable fields not currently displayed.

The search fields for a data collection can be used individually or in any combination with each other to refine a search. For example, a text phrase can be entered along with a date range to find documents with the specified phrase that fall within a certain time period. Adding a Standard Number to the previous example refines the search to find all documents with the specified phrase which fall within a given date range and reference a specific standard number.

Back to TopBack to Top
Date Searching...

Dates can be entered as a single date or as a date range. Any date element (Year, Month, or Day) excluded will be replaced with a default value which is dependent on the values included. As shown in the examples below, if the year is excluded the default year is the current one. If the day is excluded, the range spans from the first to the last day of the month.
Date Entered: Range: Same as:
1999 Single year 01-Jan-1999 to 31-Dec-1999
March Single month 01-Mar-2001 to 31-Mar-2001
9 Single day 09-Mar-2001
1999 to 2000 Two years 01-Jan-1999 to 31-Dec-2000
March to July Two months 01-Mar-2001 to 31-Jul-2001
March 2001 Month and year 01-Mar-2001 to 31-Mar-2001
March 1978 to October 1980 Month and year 01-Mar-1978 to 31-Oct-1980
May 23, 1995 to June 15, 1997 Full date 23-May-1995 to 15-Jun-1997
June 15, 1997 to May 23, 1995 Reverse 23-May-1995 to 15-Jun-1997
May 9, 1983 Single full date 09-May-1983

Back to TopBack to Top