|
|
Using AP Images |
|
|
|
If Boolean operators are not used between keywords in the Search box, then the AND operator is automatically used between words. If you have a user account, you can change this setting for your current and future login sessions via your Web Site Preferences.
To match all of the words you enter, use AND between words:
Queen
AND Elizabeth
Finds items containing both the words Queen
and Elizabeth (as in Queen
Elizabeth II or Elizabeth, Queen
of England).
To match any of the words you enter, use OR between words:
Iraq OR Iran OR Terrorists
Finds items containing any of these words: Iraq
or Iran or Terrorists.
To exclude a word from the search, use NOT or AND NOT before the word:
NOT alcoholism AND NASA
Finds items containing the word NASA
(such as
NASA astronauts), but excluding
the word alcoholism
(such as
Alcoholism may
be prevalent amongst NASA astronauts).
strike AND NOT baseball
Finds items containing the word strike
(such as a transit strike or
airline strike) but not items
with the words strike and baseball (such as baseball
strike).
To match the exact name or phrase, use quotation marks " " around the phrase or names:
"Scotland
Yard"
Finds headlines or stories containing the entire exact phrase Scotland
Yard, not just the word Scotland
or the word Yard. This also prevents
word stemming, so Scottish Yards
or Scotland's Yardley
will not match.
To specify the order in which your search terms are processed, surround the first set that you want processed with parentheses:
(media OR censorship) AND NOT radio
Since words enclosed by parenthesis are searched first, this example finds
items containing either of the words media
or censorship, then excludes
those that also contain the word radio.
wildfires
AND (earthquakes AND NOT California)
Finds all items containing the word earthquakes
but not California, then returns
items that also contain the word wildfires. Items
about wildfires and earthquakes
would be returned, but not about California
wildfires.
In this example, leaving out the parentheses does not change the results:
wildfires
AND earthquakes AND NOT California
Finds items containing the words wildfires
and earthquakes then excludes
any that also have the word California.
In this example, the parentheses does change the results:
wildfires
AND (earthquakes OR California)
Finds items containing either the words wildfires
and earthquakes, or wildfires
and California.
wildfires
AND earthquakes OR California
Finds items containing either the words wildfires
and earthquakes or the word California.
AP Images uses standard Boolean precedence rules and searches for news items in the following order:
Words surrounded by parentheses.
If Boolean operators are not used between terms, then the operator is implied from the Any/All options you select beside it. Any indicates that an OR operator is automatically inserted between the terms (at least one of the terms must be found in the search results). All indicates that an AND operator is inserted between the terms (all terms entered must be found in the search results).
All boxes in the Advanced Search window are connected via the AND operator. After specifying criteria in the Advanced Search boxes, they are combined into a single search query using the following rules:
(Search Terms 1 AND/OR 2) AND (Arrived Within period) AND (Created Between date range) AND (Person 1 AND People 2) AND (Media Event) AND (Photographer) AND (City) AND (State) AND (Country) AND (Media Category) AND (Media Type) AND ...
For example, if the following criteria is specified:
Search Terms: MacWorld iPhone
Any/All: Any
Arrived Within: Previous 12 Months
Category: US Domestic
People: Steve Jobs
Sort: Newest
Source: AP
It would be logically equivalent to:
( MacWorld OR iPhone) AND (Arrived Within=Previous 12 months) AND ( Category=US Domestic) AND ( People=Steve Jobs) AND ( Sort=Newest) AND ( source=AP)