Skip to main content
v2026.11,986 entries · CC-BY 4.0

Scopus Advanced Search Syntax: Field Codes, Proximity Operators, and Precedence Rules

A precise reference to Scopus’s advanced search syntax: field codes, the W/n vs PRE/n proximity-operator distinction, boolean precedence pitfalls, and document-type/date filtering, built around one worked, reproducible query string.

Written and maintained by CASRAI Editorial Board

Published · Last updated

On this page

Scopus advanced search is a query box where you type field codes, Boolean operators and proximity operators instead of filling in form fields. A minimal query is TITLE-ABS-KEY("open access") AND PUBYEAR > 2020. Field codes such as TITLE-ABS-KEY point a term at one part of the record, W/n and PRE/n control how close terms sit, and parentheses fix the order in which Boolean operators are applied. The Elsevier help page and the Elsevier developer search tips are the two official references.

Most searchers use almost none of this language. That is fine for a quick look-up, but a search you need to report, defend or rerun months later should be written as a query string you can paste into a methods section or appendix, the same way PubMed’s Advanced Search Builder lets you record a search history. The data table below the guide lists each syntax element with an example and the rule Elsevier documents for it.

Field codes: searching a specific part of the record

The syntax is always FIELD(search terms), and field codes combine with Boolean operators in one query string. Field codes are not case-sensitive, but the spelling, including hyphens, must be exact. A search restricted to a field excludes any document that has no entry in that field, so a field-specific search can return fewer records than a plain one even when the term is relevant.

Topic and bibliographic fields

  • TITLE-ABS-KEY(term) searches the article title, abstract and keywords in one pass. It is the usual choice for a topic search. TITLE-ABS-KEY-AUTH(term) adds author names to that set.
  • TITLE(term) searches the title only, which is tighter and gives higher precision for a term you expect in the title itself.
  • SRCTITLE(term) restricts to the source title: the journal, book series or proceedings name rather than the article.
  • AFFIL(term) searches the author affiliation text. Related fields for narrower affiliation searches are AFFILCOUNTRY, AFFILCITY and AFFILORG.
  • FUND-SPONSOR, FUND-NO and FUND-ACR search funding sponsor, grant number and funder acronym, useful for funder-linked output counts.
  • DOI, PMID and ISSN look up a record or source by identifier.
  • LANGUAGE restricts by the language of the document.
  • ALL searches across all searchable fields, and KEY searches keywords only.

Author and affiliation identifiers

AUTH(lastname, initial) and AUTHOR-NAME search by name, for example AUTH(smith, j). Names are ambiguous, which is the problem the Scopus Author ID is meant to address, so a name search on a common surname returns unrelated authors unless you narrow it with AFFIL() or a subject filter. AUTHOR-NAME(john AND smith) requires both terms to appear on one author, whereas AUTHOR-NAME(john) AND AUTHOR-NAME(smith) is broader because the two terms can match different authors of the same paper.

AU-ID and AF-ID take numeric author and affiliation IDs only. A name in AU-ID() does not match, and Boolean operators are not allowed inside it. When you have an author ID, AU-ID(numeric ID) is the more reliable route.

Filters: document type, source type, stage, access and year

  • DOCTYPE(code) restricts by document type. The developer search tips list 14 codes: ar article, ab abstract report, bk book, bz business article, ch book chapter, cp conference paper, cr conference review, ed editorial, er erratum, le letter, no note, pr press release, re review and sh short survey. The Elsevier help page additionally lists dp, rp and tb. Example: DOCTYPE(ar OR re).
  • SRCTYPE(code) restricts by source type: j journal, b book, k book series, p conference proceeding, r report and d trade publication.
  • PUBSTAGE(value) takes aip for articles in press or final for final publications.
  • OPENACCESS(1) returns open access content and OPENACCESS(0) returns subscription content.
  • SUBJAREA(code) restricts to a subject area using the Scopus subject area codes.

Publication year: PUBYEAR

The developer search tips document comparison operators on PUBYEAR: PUBYEAR > 1994, PUBYEAR < 1994 and PUBYEAR = 1994. The Elsevier help page documents the word operators PUBYEAR BEF 1994, PUBYEAR AFT 1994 and PUBYEAR IS 1994. The developer page states that BEF, AFT and IS still work in saved searches and alerts, so both forms are valid. To build a range, combine two comparisons with AND: PUBYEAR > 2019 AND PUBYEAR < 2025 captures 2020 through 2024.

Retired field codes

Elsevier’s list of deprecated codes includes EDFIRST, EDLASTNAME, EXACTSRCTITLE, REFAUTH, SEQBANK and SEQNUMBER. A query copied from an older guide that uses one of them should be rewritten with a current field code. Reference-list searching uses the REF family of codes rather than the main record fields.

Phrase searching: double quotes versus braces

Scopus has two phrase delimiters, and they do different things.

  • Double quotes, as in "heart attack", find the terms next to each other. Punctuation is ignored, plurals are included, and wildcards work inside the quotes, so "criminal* liab*" is valid.
  • Braces, as in {heart attack}, search for an exact phrase. Stop words, spaces and punctuation are matched literally, so {heart-attack} and {heart attack} return different results.

Use straight quote characters. Curly quotation marks pasted from a word processor can cause parsing errors. To search for the words “or”, “and” or “and not” literally rather than as operators, put them in quotation marks.

Terms typed side by side with no operator between them are joined with AND, which is a common source of a surprisingly narrow result set when a phrase was intended. Wrap the phrase in quotes or braces.

Wildcards

The asterisk * stands for zero or more characters and the question mark ? stands for a single character. Elsevier documents these limits:

  • At least three characters must come before a wildcard, for example toc*.
  • A wildcard cannot stand alone.
  • A wildcard next to a hyphen or a dot is dropped, so do not rely on it there.
  • Wildcards work inside double-quoted phrases, as in "criminal* liab*".

Because plurals are already included in double-quoted phrase searches, a wildcard is for stem variants such as behavio*, not for simple plurals.

Proximity operators: W/n and PRE/n

Scopus supports two proximity operators, and they are not interchangeable.

  • W/n finds two terms within n words of each other in either order. ocean W/3 energy matches “ocean energy” and “energy from the ocean”.
  • PRE/n finds the first term before the second within n words, so the order is fixed. cat pre/10 dog requires “cat” to come first.

The developer search tips set these rules. Boolean operators AND and AND NOT cannot be arguments of a proximity operator, so cat pre/10 (dog AND mouse) is invalid. OR is allowed: (water OR vinegar OR wine) w/5 (oil OR yogurt) is a valid query. Without parentheses, a proximity operator binds more tightly than AND, so cat pre/10 dog AND mouse is read as (cat pre/10 dog) AND mouse. Neither official page defines a value of zero for n, so use double quotes or braces when you want adjacent words rather than relying on PRE/0.

Boolean precedence: the order is documented differently and is being changed

Precedence decides how Scopus reads a query that mixes operators without parentheses, and the two Elsevier pages do not describe it identically. The Elsevier help page lists the order OR, then W/n and PRE/n, then AND, then AND NOT. The developer search tips list OR, then AND, then AND NOT, and then read left to right.

The developer page also states that Boolean precedence will be updated in 2026 to match industry standards. A University of Galway library guide to Scopus carries a notice headed “Upcoming Changes to Boolean Operator Precedence (Fall 2025/Early 2026)”, which says that from late 2025 Scopus will gradually update Boolean operator precedence, with the change finishing in early 2026. Because the order in force can differ from the order printed on an older guide, a query that depends on unparenthesised precedence can change meaning without any warning, and the result set is simply different.

Practical rule: put parentheses around every OR group and every mixed-operator clause, and do not depend on the default order. For example, TITLE-ABS-KEY(diabetes) AND TITLE-ABS-KEY(diet OR exercise) states the intended grouping in the query itself, while TITLE-ABS-KEY(diabetes) AND TITLE-ABS-KEY(diet) OR TITLE-ABS-KEY(exercise) leaves the grouping to whichever precedence rule is in force. Elsevier also recommends putting AND NOT at the end of the query, as in KEY(cold) AND KEY(rhinovirus) AND NOT KEY(influenza). When a record count looks too high or the results are off topic, an unparenthesised OR next to AND or AND NOT is the first thing to check.

A worked, reproducible query string

This query combines a field code, a phrase with a proximity operator, document-type filtering and a date range for a hypothetical search on open-data mandates in engineering research from 2021 onward, restricted to articles and reviews:

TITLE-ABS-KEY("open data" PRE/2 mandate) AND TITLE-ABS-KEY(engineering) AND DOCTYPE(ar OR re) AND PUBYEAR > 2020

Each part is self-contained. The PRE/2 expression has no Boolean operator inside it, the only OR sits inside the DOCTYPE() parentheses, and the AND operators join complete field-code clauses. No clause depends on the precedence order. To exclude editorials and letters as well, add AND NOT DOCTYPE(ed OR le) at the end rather than searching for the words “editorial” or “letter” in the text, because the document-type field is the dependable signal.

Record the exact string with the search date and the result count. The query string is the reproducible artefact that a facet click in the interface does not leave behind.

Document type and date range as query syntax or as facets

The Scopus web interface also offers document type and publication year as refine facets after a search. They produce a result set equivalent to adding DOCTYPE() and PUBYEAR clauses, but the typed version is what you can paste into a methods appendix, share with a co-author or rerun later.

Common errors checklist

  • Curly quotation marks pasted from a document, which can cause parse errors.
  • A wildcard with fewer than three characters before it, or a wildcard next to a hyphen or dot.
  • A name placed inside AU-ID() or AF-ID(), which accept numeric IDs only.
  • AND or AND NOT inside a proximity expression.
  • A mistyped field code. The hyphens in TITLE-ABS-KEY are part of the name.
  • A deprecated field code carried over from an older query.
  • Relying on default precedence instead of parentheses.
  • A very long string typed in one go. Elsevier advises building large searches line by line in basic search and checking each part.

Frequently asked questions

It searches the article title, abstract and keywords together. Add TITLE-ABS-KEY-AUTH when you also want author names searched.

Does Scopus support exact-phrase searching?

Yes, with braces. {heart attack} matches the exact phrase with stop words and punctuation treated literally. Double quotes find the terms next to each other but ignore punctuation and include plurals.

How do I write the PUBYEAR syntax?

Use PUBYEAR > 2020, PUBYEAR < 2020 or PUBYEAR = 2020. The word forms BEF, AFT and IS are also documented and still work in saved searches and alerts.

How do I exclude document types?

Add AND NOT DOCTYPE(ed OR le), for example, at the end of the query. Or state the types you want: DOCTYPE(ar OR re).

Has Scopus changed Boolean precedence?

Elsevier has announced a change. The developer search tips say precedence will be updated in 2026, and a University of Galway guide describes a gradual change from late 2025 to early 2026. The two Elsevier pages also list the older order differently, so use parentheses.

How do I search by author ID?

Use AU-ID(numeric ID). It accepts numeric IDs only, not names, and no Boolean operators inside the parentheses.

Can I combine TITLE-ABS-KEY with AUTH and AFFIL in one query?

Yes. TITLE-ABS-KEY(machine learning) AND AUTH(lecun) AND AFFIL(new york) is a well-formed query.

Is SciVal searched with this syntax?

SciVal is built on Scopus data but is an analytics and benchmarking layer rather than a search interface, so this query syntax is specific to Scopus search.

Sources

  • Elsevier, How can I best use the Advanced search? (Scopus support): https://www.elsevier.support/scopus/answer/how-can-i-best-use-the-advanced-search (2026-11-21)
  • Elsevier Developer Portal, Scopus search tips: https://dev.elsevier.com/sc_search_tips.html (2026-11-21)
  • University of Galway Library, Scopus guide, search issues and Boolean precedence notice: https://libguides.library.universityofgalway.ie/Scopusguide/Searchissue (2026-11-21)

Data: Scopus advanced search syntax elements and their documented rules

Compiled from Elsevier's Scopus help page and the Elsevier developer search-tips page: for each syntax element, what it matches, an example, and the documented rule or limit. Where the two pages differ (precedence and date operators) both are recorded.

Period covered: 2026.

Scopus advanced search syntax elements and their documented rules
Syntax elementTypeWhat it doesExampleDocumented rule or limit
TITLE-ABS-KEYfield codeSearches abstract, keywords and article titleTITLE-ABS-KEY(prion disease)Field codes are case-insensitive; spelling including hyphens must be exact
TITLE-ABS-KEY-AUTHfield codeSearches abstract, title, keywords and author namesTITLE-ABS-KEY-AUTH(smith)Also available in Document search
AUTHfield codeAuthor last name and first initialAUTH(smith, j)Name-based; see AU-ID for numeric IDs
AU-IDfield codeScopus author ID numberAU-ID()Numeric IDs only; names do not match; Boolean operators not allowed
AF-IDfield codeAffiliation ID numberAF-ID()Numeric IDs only; Boolean operators not allowed
SRCTYPEfield codeSource typeSRCTYPE(j)Values: j journal, b book, k book series, p conference proceeding, r report, d trade publication
DOCTYPEfield codeDocument typeDOCTYPE(ar OR re)Developer search tips list 14 codes (ar, ab, bk, bz, ch, cp, cr, ed, er, le, no, pr, re, sh); Elsevier help page also lists dp, rp, tb
PUBSTAGEfield codePublication stagePUBSTAGE(final)Values: aip (article in press), final
OPENACCESSfield codeOpen access statusOPENACCESS(1)1 returns open access content; 0 returns subscription content
PUBYEARfield codeYear of publicationPUBYEAR > 1994Developer search tips document the operators >, < and = ; the Scopus help page documents BEF, AFT and IS
W/nproximity operatorTerms within n words, any orderocean W/3 energyBoolean operators cannot be arguments; OR is allowed; no valid range for n is stated
PRE/nproximity operatorFirst term precedes second within n wordscat pre/10 dogBoolean operators cannot be arguments; without parentheses binds tighter than AND
Double quotesphrase delimiterTerms adjacent; punctuation ignored; plurals included"heart attack"Wildcards work inside; use straight quotes, curly quotes can cause parse errors
Bracesphrase delimiterExact phrase; stop words, spaces, punctuation matched literally{heart attack}{heart-attack} and {heart attack} return different results
* wildcardwildcardZero or more characters"criminal* liab*"At least 3 characters; cannot stand alone; dropped next to a hyphen or dot
AND NOTboolean operatorExcludes termsKEY(cold) AND KEY(rhinovirus) AND NOT KEY(influenza)developer search tips recommends placing AND NOT at the end

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Scopus Advanced Search Syntax: Field Codes, Proximity Operators, and Precedence Rules

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →