Skip to main content
ProQuest Help

Command Line Search

Print this topic


Command Line Search is designed to help you build a precise search using operators to combine different fields that target your search terms. ProQuest will only search the fields you specify. Alternatively, you can simply search on a word or phrase.

Operators, fields, and special characters
Adding thesaurus terms
Keep in mind

Command line searching is useful if you want to quickly combine fields within a search without filling in each of the fields individually, or when you need to find information in one field, but NOT in another.

To perform a command line search, you can prefix your term(s) with field name abbreviations and enter them directly into the search box. For example: AU(Miller) and PUB(physiol*).

Alternatively:

  1. Click Add search fields.
  2. Click the arrow next to the Search fields dropdown and choose a field code.
  3. If you want to combine fields with Boolean operators, click the arrow next to the Operators list and choose the required operator.
  4. Click Add to form.
  5. Enter your search term(s) in the brackets for each field.

Running multiple searches at once

Command Line Search supports the concept of iterative searching. Iterative searching is simply the concept of running a search, refining that search, running a second search, and so on—possibly combining searches as you go. The goal is to narrow, or broaden your initial search to get the results you want.

To run multiple searches at once:

  1. Enter a search in the box. If you’re entering a very long search, just keep typing; the search will wrap to a new line as necessary.
  2. Press Enter or Shift+Enter to start a new line.
  3. Enter a second search.
  4. Repeat steps 1–3 until all of your searches are listed.
  5. Click Search.

All of your searches will run, and:

  • A results list for the last search you entered will display.
  • A new list item corresponding to each of your searches is added sequentially to the Recent Searches page.

Operators, fields, and special characters

Search fields

Look up links

For some fields included in the Search fields drop-list, you can browse—using Look up links—a list of all available terms, and select one or more to add to your search.

Field codes

Field codes (sometimes called mnemonics), provide a shorthand alternative for search field names.

ProQuest will interpret both the field name and its corresponding code the same.

For example:
author(Smith)
is the same as:
AU(Smith)

 

Important to know: Some field codes only return results for some databases.

Field name Field Code
Abstract ABSTRACT
All abstract & summary text SUMMARY
Accession number AN
Address ADR
Advisor ADV
Age AGE
Agency AG
Amount note AMN
Anywhere except full text NOFT
Article taxonomic terms ATX
Articles about US Hispanics USHIS
Auditor AUD
Author affiliation AF
Authors AUTHOR
Authors (all author and other contributor roles, including translator, editor, engraver) EAU
Availability AV
Available for licensing region ALIC
Book title BK
Caption CAP
Category (table/figure type) FIGT
Cited author CAU
Cited document title CTI
Cited publication title CPUB
Cited year CYR
Classification CC
CODEN CODEN
Column COL
Committee member CMT
Company CO
Company as subject COMPANY
Company type CTY
Conference sponsor CS
Conference CF
Conference title CFTI
Contact individual CX
Copyright CY
Corporate author CA
Country CNT
Dateline DLN
Degree DG
Department DEP
Development history HI
Digital Object Identifier DOI
Director DIRECTOR
Document feature DF
Document text FULLTEXT
Document title TITLE
Document type DTYPE
Drug originator DOR
Edition EN
Editor ED
Education level LV
Email address EA
Environmental regime ER
EPA number EPA
Fax FA
Folklore FK
Format availability FV
Format covered FC
Fortune rank FORT
Frequency of publication FQ
Full description MEC
Funding amount AM
Funding type FTYPE
Gallery GA
General literary topic GSU
Generic name GN
Genetic sequence GQ
Geologic time GT
Grant information GI
HBond acceptor HBA
HBond donor HBD
Holding library HL
Influence IFL
Input center number, ASFA TR
International classification IC
Inventor INV
ISBN ISBN
ISSN ISSN
Issue ISSUE
Journal title JN
Keywords/identifiers IF
Language LA
Last revision date LR
Latitude & longitude LL
LC control number LC
Lecture/series LEC
Linguistic topic LSU
Lipinski values LIP
Literary genre LGR
Literary source LSO
Literary technique LT
Literary theme LTM
Location as subject LOCATION
Location of work LOW
Major MeSH MJMESH
Major subject MJSUB
Manuscript type MTYPE
Map information MP
Market rating MKR
Market segment SEG
Material ML
Material classification MC
MeSH subjects MESH
Media MD
Methodology ME
Molecular formula MF
Molecular weight MW
Monograph title MT
NAICS NAICS
National literature NL
New chemical entity NCE
Non-polymer material  NM
Notes NT
Novelty rating NVR
Number of references NR
Object geographic terms OLOC
Online publication date OPD
ORCID ORCID
Organizer ON
Origin of substance OS
Original title OTI
Other contributors OAU
Other numbers NU
Patent applicant AP
Patent application data PA
Patent country PC
Patent information PAT
Patent issue date PI
Patent number PN
Patent priority country PPC
Patent priority data PR
Patent priority date PRD
Patent priority number PRN
Patent publication country PBC
Patent publication date PDA
Person as subject PERSON
Pharmacokinetic data PK
Phase PHS
Phone number TE
Physical description PH
Place of publication CP
Population POP
PQ subject PSUB
Predictive model EQ
Price quoted PQ
Print publication date PPD
Process PRC
Producer PRODUCER
Product as subject NP
Publication date PUBDATE
Publication editor JED
Publication subject JSU
Publication type RTYPE
Publication year YR
Publication/order number DISPUB
Publication title PUBLICATION
Publication title (includes title history) PUBALL
Publisher PUBLISHER
Publisher location PBLOC
Rating RAT
References REFERENCE
Registry number RN
Related work RW
Report number RP
Requirements RQ
Resource location RL
Reviewed work RV
Revision REV
Rotational bonds ROT
Route of administration RO
Scholar SCR
Scholarly approach SAP
Scholarly theory STH
Scholarly tool STO
School name/code SCH
Section SEC
Series SR
Shelfmark SH
Source type STYPE
Specific language SLA
Speed rating SPR
Sponsor SP
Sponsor type SPT
Sponsoring organization SPORG
Start page PAGE
Status ST
Study names/identifiers STI
Subfile SFL
Subject-author SAU
Subject-language SUL
Subject-work SWK
Subject-work (translated title) TWK
Subject area SBA
Subject/artist SA
Subjects SUBJECT
Substance DN
Substance SUBST
Summary language SL
Supplement SUPP
Supplemental file types SPTYPE
Table of contents TOC
Target audience TA
Target data TG
Taxonomic terms TXTERM
Tests & measures TM
Therapeutic class TC
Therapy status TST
Ticker symbol TKS
Time period TPR
Total rating TRAT
Treatment codes TT
Update date UPD
Volume VOLUME
Volume/issue DVI DISVOL
Word count WC

Operators

Operator Description Example
AND Look for documents that contain all of your words or phrases.
Use AND to narrow your search and get fewer results.
food AND nutrition
OR Look for documents that contain any of your words or phrases.
Use OR to broaden your search and get more results.
food OR nutrition
NOT Look for documents that contain one of your search terms, but not the other.  nursing NOT shortage
NEAR/n or N/n

Look for documents that contain two search terms, in any order, within a specified number of words apart.  Replace ‘n’ with a number. In the example, 3 means within 3 words. 

Used alone, NEAR defaults to NEAR/4.
Important to know: When you shorten NEAR to N, you must provide a number. For example, internet N/3 media. If you search on internet N media, ProQuest interprets N as a search term, rather than as a proximity operator.

nursing NEAR/3 education
media N/3 women
PRE/n or P/n or -

Look for documents that contain one search term that appears within a specified number of words before a second term.

Replace ‘n’ with a number.  In the example, 4 means the first term precedes the second term by 4 or fewer words. 

A hyphen (-) joining two terms within a search is equivalent to PRE/0 or P/0.

nursing PRE/4 education
shares P/4 technologies
nursing-education
EXACT or X

Look for your exact search term in its entirety. Used primarily for searching specific fields, like Subject. For instance, a search on su.exact("higher education"), will return documents with a subject term of "higher education", but not documents with a subject term of "higher education funding".

Important to know: EXACT is not included in the 'operator precedence' list shown above. Unlike the operators listed there—like AND or PRE—EXACT is neither a Boolean or a Proximity operator. EXACT simply allows you to specify with precision occurrences of an 'exact' term, without returning occurrences of multiple-word terms that include your search terms.

Important to know: When you apply the EXACT operator to a search term, you cannot also apply the truncation (*) or wild card (?) characters to the same search term. Use of the EXACT operator implies the desire for exact precision. Both the truncation and wildcard characters undercut that precision by broadening your search.

SU.EXACT("higher education")
SU.X("higher education")

LNK

Link a descriptor term to a Subheading (qualifier) by selecting the proper qualifier in the Thesaurus window, or by using the LNK (or --) in Basic, Advanced or Command Line Search.

Also, link two related data elements together, to ensure proper specificity in your search.

Important to know: LNK is not included in the 'operator precedence' list shown above. Unlike the operators listed there—like AND or PRE—LNK is neither a Boolean or a Proximity operator. LNK enables you to specify precise relationships between qualifiers and terms in your search query.

MESH(descriptor LNK qualifier)

MESH("aspirin" LNK "adverse effects")

MESH("aspirin -- adverse effects")

 

Special characters for special purposes

These characters can come in handy when you're looking for documents that contain words that can be spelled different ways, such as color or colour, or words that begin with the same character string, such as nursed or nursing.

Character Description Example
?

Wildcard character - used to replace any single character, either inside or at the right end of a word. Multiple wildcards can be used to represent multiple characters.

Important to know: A single ? wildcard characer will match both zero and one character... meaning cat? will return matches on both cat and cats. Similarly, cat?? will return matches on cat, cats, and catch—0, 1, or 2 characters in that example.

nurse?
Finds: nurse, nurses, and nursed.

sm?th
Finds: smith and smyth

ad???
Finds: ad, ads, adds, added, adult, adopt
*

Truncation character (*) - retrieves variations of the search term. Use the truncation character at the end (right-hand truncation) or in the middle of search terms. Each truncated word can return up to 500 word variations.

Standard truncation (*) retrieves variations of the search term, replacing up to 5 characters.

Defined truncation ([*n]) replaces up to the number of characters specified, for example [*9]. The maximum number of characters that can be entered is 20.

farm*
Finds: farm, farms, farmer, farming

colo*r
Finds: colour, color

Important to know: You cannot enter a wildcard (?) or truncation (*) character at the left-hand/leading position of a search term. For example, *old or ?tion would both be invalid searches. You also cannot search with a single wildcard (?) or single truncation (*) character. Both are invalid searches.
Important to know: Any terms retrieved using either truncation (*) or wildcard (?) characters are not considered when sorting your results based on relevance. That's because there is no way for ProQuest to assess the relevance of these terms to your research. For example, your search for 'bio*' could return occurrences of any or all of these terms: 'bionic' or 'biosynthesis' or 'biodegrade' or 'biographic.' One, some, all, or none could be relevant to your research.
[*n] Use [*n] to denote up-to how many characters you want to truncate.

nutr[*5]
Finds: nutrition, nutrient, nutrients

< Less than. Used for numeric fields like publication year. YR(<2005)
> Greater than. Used for numeric fields like publication year. YR(>2005)
<= Less than or equal to. Used for numeric fields like publication year. YR(<=2005)
>= Greater than or equal to. Used for numeric fields like publication year. YR(>=2005)
- Use a hyphen to indicate a range when searching numerical fields, such as Publication date. YR(2005-2008)

Adding thesaurus terms

You can use the thesauri to find broader and/or narrower related terms to add to your search.

Note that the thesauri that you see on the Thesaurus List screen will depend on your subscription and on the database(s) you have selected; also, some thesauri only apply to particular databases.

Duplicates and Search Expansions

Duplicates — Duplicate documents arise when the same document is available from multiple selected databases. By default, ProQuest includes duplicate documents in your search results. To prevent duplicates from being included in your search results, select the Exclude duplicate documents checkbox. When you exclude duplicates, only the document deemed most relevant (based on its indexed metatdata) to your search will display in your results.

Include spelling and form variants — By default, ProQuest evaluates your terms to also look for US/UK spelling variants (color, colour), and English language form variants such as comparatives (smaller, bigger), superlatives (smallest, biggest), and plurals (tree, trees). This behavior is called ‘search expansion’ and helps you discover relevant results you otherwise would miss.

If you wish to search for the exact terms you typed, ensure that the Spelling variants and Form variants checkboxes are unselected. Alternatively, enclose a term or phrase in quotation marks to search for that exact term e.g. “time travel”.

Tip: You can use curly brackets with quotation marks if you wish to look for spelling and form variants of the words contained within a particular phrase. For example, in Early English Books Online, searching on “{God save the king}” will retrieve both the exact phrase God save the king and its Early English spelling and form variants, such as God saue the kyng.  

Show variants on Results page — If this checkbox is selected before running a search, any search terms you entered with variants are highlighted in the Results-page search box; variant terms included in your search are listed in the panel below it.

Note: Databases that include a significant quantity of Early Modern English texts (e.g. Early English Books Online) use a specialist dictionary for spelling and form variants, developed by the CIC CLI Virtual Modernization project. By default, these databases evaluate the terms you enter to look for Early Modern English spelling and form variants — e.g. ghost retrieves the spelling variants goost, gost, ghoste, goost, gooste, goste, ghoast, ghaist.

The English language search variant options are not included for certain databases where the content is in languages other than English — e.g. Goethes Werke, Bibliografía de la Literatura Española. When you search within these databases, the search variant options do not appear and ProQuest looks for the exact terms you entered.

Keep in mind

  • Command line searches—including any operators or search field codes you include—are case-insensitive.  
  • Your administrator can specify whether ProQuest should look for instances of your search terms everywhere including the full text, or everywhere except the full text. The default setting includes full text; if your administrator has changed this setting, the search page will display a message indicating this. Regardless of which option has been set, you can still use the full text checkbox on the search screen to retrieve documents with full text; the administrator setting just controls where ProQuest will look for your search terms.
  • You can use wildcard characters and truncation characters in your search.
  • You can use command line syntax in any search box in ProQuest that does not target a specific search field. For example:

Top of page