
Boolean Searching
A Boolean search lets you do complex, precise searches by writing CCL (Common Command Language) search statements. Polaris automatically inputs the search command FIND, and you type what to find in the Boolean search bar.
The search expression you type can include the following parts:
- The text for which you are searching
- The access points (fields) you want to search; for example, author or title (see "Boolean Search Access Points")
- Operators that link one search expression with another
Example:
To find the works of author Asimov published in or after 1970, you type the following command:
AU=asimov AND PD >= 1970
AU specifies the access point Author. The search text for this access point is asimov. AND is the Boolean operator connecting the two conditions of this search (the author and the date). PD specifies the access point Publication Date. The search text for this access point is 1970. The symbol >= stands for the relative operator greater than or equal to.CCL Operators
CCL operators include Boolean (logical) and relative operators. Use the operators to combine search terms.
Tip:
Advanced searching also offers Boolean operators which you can use without typing the CCL command statement. See "Advanced Searching".Boolean Operators
The Boolean operators And, Or, and Not logically combine search terms:
Example:
AU=isaac asimov AND TI=planets
Finds only the items written by Isaac Asimov that have the word planets in the title.
Example:
AU=isaac asimov OR TI=planets
Finds all items written by Isaac Asimov and all items with the word planets in the title by any author, including Asimov.
Example:
AU=isaac asimov NOT TI=planets
Finds only those items written by Isaac Asimov that do not have the word planets in the title.You may build a more complex search using the Boolean operators. If you use multiple operators in the same query, use parentheses to group the operations to be performed.
Note:
To search for text that includes an operator or special character as part of the search text, you must put the text in quotation marks. For example, to find the title Bud, Not Buddy, you type this command:
TI = "bud not buddy"Relative Operators
The relative operators include the following symbols for comparing search terms:
Example:
PD >= 1987
This example finds items published in or after 1987. PD specifies the publication date access point. See "Boolean Search Access Points" for a table of access point codes.Example:
KW=solar system AND PD < 1932
This example finds items published before 1932 that have the words "solar system" in any record field. KW specifies the keyword access point. See "Boolean Search Access Points" for a table of access point codes.Boolean Search Access Points
The following table lists the Boolean search access points:
Languages
The following table lists some common codes to use as terms for the language access point (LA) in a Boolean (CCL) search. You must use the code, not the language name. For example, to specify English, type LA=ENG.
Note:
You can see a complete list of language codes at the Library of Congress Web site:
www.loc.gov/marc/languagesTarget Audiences
The following table lists the codes to use with the target audience (TA) access point in a Boolean (CCL) search. You must use the code, not the target audience name. For example, to specify a preschool audience, type TA=a.
Note:
Not all bibliographic records include target audience information.Format
The following table lists the codes to use with the Format access point (FO) in a Boolean (CCL) search. You must use the format code, not the format name. For example, to specify archival material, you type FO=ARC.
Note:
This access point returns only a limited number of formats, and applies primarily to older versions of Polaris PowerPAC. For a more useful search, use the format/type of material access point (TOM=). See "Format/Type of Material".Format/Type of Material
The following table lists the codes to use with the Type of Material access point (TOM) in a Boolean (CCL) search. You must use the format/type of material code, not the name. For example, to specify DVDs, you type TOM=DVD.
Objective: Do a search by typing a command
Follow these steps to search by typing a Common Command Language (CCL) command.
Note:
For more information about Common Command Language, see "CCL Operators" and "Boolean Search Access Points".
- Select Search from the menu bar, and select Boolean from the Search submenu.
- If you want to have the search results sorted by a category other than Most Popular, click the Sort by arrow symbol and select Author, Title, Call Number, or Publication Date.
The Most Popular option sorts titles in the search results so that the titles most frequently checked out or requested over the past 120 days appear first in the list.
Note:
You can have search results sorted by two categories by setting search options. For more information, see "Setting Search Options".
- If you want to set databases to search, click Select Databases, and select databases to search (see "Search multiple databases").
- Type the CCL command in the Boolean search for box, keeping the following tips in mind:
- Polaris ignores letter case.
- You can type part of a word and use a wildcard character (refer to "Wildcard Characters").
- Use parentheses to group search terms.
Example:
The following command finds works of the author Asimov which have titles with the word foundation, except audio books published after 1990:
(AU=asimov AND TI=foundation) NOT (TOM=abk and PD>1990)
Terms inside the parentheses are processed first, then the entire statement.
Example:
To find the title Bud, Not Buddy, you type the following command:
TI = "bud not buddy"For more information about stop words, see "Stop Words".
Related Topics
- Search tips - If your search produces no results, or unexpected results, see "Search Tips".
- Working with results - For information about using the results, see the following topics:
- Navigate the results list, view more information about the titles - "Viewing Search Results"
- Add a title to a title list - "Working with Title Lists"
- Request or purchase a title - "Obtaining Materials"
- Save the search to run automatically - "Automating Searches"