Free scoping read. A written assessment of your manuscript in two business days, at no cost.

Start one
Contents

Academy · Research Data, Analytics & AI · Combining Search Terms

Combining Search Terms with Boolean Logic for a Literature Search: Operators, Nesting and Common Errors

AND, OR, NOT and parentheses are not interchangeable conveniences. The published evidence on search-strategy errors indicates that incorrect logic between them is one of the most common reasons a systematic search fails, without any visible sign, to retrieve relevant studies.

Pubrica AcademyWritten by an information specialist Reviewed bya systematic review methodologist Published10 October 2026 Last checked10 October 2026 Reading time8 minutes Sources10 peer-reviewed

Once the key concepts behind a research question are identified, those concepts and their synonyms have to be joined together with Boolean operators so a database returns records that genuinely match the question rather than records that merely contain one of the words somewhere. The three core operators, AND, OR, and NOT, do structurally different jobs, and confusing which one belongs where is a documented, recurring source of search errors rather than a minor stylistic slip. Field tags and proximity operators add a further layer of precision once the basic Boolean logic is correctly structured.

Learning objectives

  • The effect of AND, OR, NOT, parentheses and truncation on a search result set
  • Why a correctly nested combination of these operators matters more than how many synonyms are listed
  • Which of these mistakes shows up repeatedly in the methodological literature on search-strategy quality
  • How field tags and proximity operators add precision once the basic Boolean structure is correct

Common misconceptions

  • “Boolean operators are a minor technical detail, mostly interchangeable with each other.” Peer-review checklists designed specifically to detect search-strategy errors, including the PRESS 2015 Guideline, treat correct use of Boolean and proximity operators as one of their core evaluation items, because reversing AND and OR, or omitting the parentheses that group them correctly, is one of the most consequential and recurrent causes of an underperforming search strategy.

Functions of the AND, OR and NOT operators

AND narrows a search to only the records that contain every one of the joined terms, which is the operator used to combine separate concepts, such as an exposure concept and an outcome concept, into a single focused query1. OR broadens a search to any record containing at least one of the joined terms, which is the operator used to combine synonyms or related terms within the same concept, so that a search for an exposure captures the different words various authors used for the same underlying idea1. NOT excludes records containing a specified term, useful for removing a known source of irrelevant results, such as animal studies when a review is restricted to human subjects, but it carries a genuine risk of also excluding relevant records that happen to mention the excluded term in passing, which is why methodology guidance generally recommends using it sparingly and only after confirming what it would remove2.

The role of parentheses and truncation

When a search combines more than two terms, parentheses determine how the database groups the logic, and an error in grouping changes what the search returns, not merely how it reads1. The expression (physical activity OR exercise) AND (breast cancer OR mammary neoplasm) correctly groups each concept's synonyms together before combining the two concepts; dropping the parentheses can cause some database interfaces to interpret the same string with a different operator precedence, producing a materially different, usually far less relevant, result set2. Truncation symbols, typically an asterisk, capture word variants from a shared root, so a search for randomi*ed captures both American and British spellings and activit* captures both "activity" and "activities" without listing every variant by hand3. Both tools reduce the manual burden of writing out every synonym and variant individually, but both also need to be checked against each specific database's own syntax, since the exact truncation symbol and the exact rules for operator precedence are not identical across platforms3.

Common errors in Boolean combination

The PRESS 2015 Guideline Statement, developed specifically to structure peer review of electronic search strategies before they are run, lists Boolean and proximity operator errors as one of its core checklist domains, alongside missed subject headings and search-line structure4. A separate audit of search-strategy reporting in Cochrane systematic reviews by Yoshii and colleagues identified logical-operator mistakes as among the error types with the largest impact on a search's ability to find all the relevant literature that actually exists5. A particularly common version of this error is using AND where OR was intended within a single concept's synonym list, which silently narrows the search to records using every listed synonym simultaneously, a combination that may return almost nothing even when many relevant studies exist. Because this error produces a result set that appears plausible rather than obviously defective, often a modest, non-zero number of records, it is particularly easy to miss without a peer reviewer deliberately checking each concept's internal logic against the researcher's own stated synonym list.

Field tags and proximity operators for greater precision

Once the basic AND/OR/NOT structure and grouping are correct, field tags restrict a term to a specific part of a record, such as the title or abstract, which improves precision by excluding records where a term appears only incidentally, for example in a reference list or an acknowledgments section6. Proximity operators go a step further than plain AND by requiring two terms to appear within a specified distance of each other, which is useful for phrases where the exact wording varies ("quality of life" versus "health-related quality of life," for instance) but the concept's two component words still need to appear close together to indicate genuine relevance3. The Cochrane Handbook documents that both field restriction and proximity searching are supported, in varying syntax, across most major biomedical databases, but recommends testing their exact behavior in each specific database rather than assuming identical syntax carries over from one platform to the next1. A related, often overlooked distinction is between a database's default proximity window and an explicitly specified one; some platforms treat an unspecified proximity operator as a fairly wide default window, which can admit less relevant records unnoticed unless the searcher checks and, where possible, sets the window explicitly. Operator precedence itself, whether a database evaluates AND before OR by default when parentheses are absent, is another platform-specific detail that should be confirmed directly in a database's own documentation rather than assuming it matches the convention used elsewhere, since an incorrect assumption here reproduces exactly the kind of silent, hard-to-detect error that grouping with explicit parentheses is meant to prevent in the first place. Where there is uncertainty, the safest practice is to write out parentheses explicitly even where a database's default precedence would technically produce the same result, since explicit grouping has no cost and removes any dependence on assumptions about default behavior that may not hold on every platform to which a strategy is eventually translated.

A worked example of term combination

Combining the pieces above into a single, correctly structured search for a hypothetical review on aspirin and myocardial infarction would look like: (aspirin OR acetylsalicylic acid OR ASA) AND (myocardial infarction OR heart attack OR STEMI OR "MI"). This groups each concept's synonyms with OR inside its own parentheses, then joins the two concept groups with AND, following the same structure recommended in literature-search methodology guidance for building a search around a small number of core concepts7. Adding a controlled-vocabulary term, such as a relevant MeSH heading, inside the same OR group alongside the free-text synonyms, and setting the free-text terms to search title and abstract fields specifically, further improves precision without changing the underlying Boolean structure7.

Verification of a combined search string

Before treating a combined string as finished, running it through the specific checks the JBI's own search-strategy guidance recommends, confirming each OR group is self-contained, confirming AND statements sit only between concept groups, and confirming truncation and field tags behave as expected in the target database, catches most structural errors before they reach full screening8. Munn and colleagues' broader point about matching review design to review purpose applies equally at this smaller scale: a Boolean structure appropriate for a narrow, comparator-based systematic review search is often inappropriately restrictive for a scoping review's broader mapping purpose, so the check should also confirm the combination's breadth matches the purpose of the review9. A brief, deliberate re-reading of the finished string against these checks takes only a few minutes and detects a disproportionate share of the errors that would otherwise only surface once screening is already underway. A further practical check, running each concept's OR group on its own before combining it with AND, confirms that group alone retrieves a sensible, recognizable set of records; if a single concept's synonym group already returns almost nothing, the fault lies in that group and should be corrected there rather than being masked, and potentially misdiagnosed, once it disappears into a larger combined string.

Key points

Key points

AND narrows a search across concepts, OR broadens it within a concept's synonyms, parentheses control the interaction between the two, and truncation reduces the need to list synonyms manually. Each, however, must be checked against the exact syntax of every database, and each is a documented, recurrent source of search error when it is not.

Practical application

Practical application

  1. Use OR only within a single concept's synonym list. Group every synonym and related term for one concept with OR, inside its own set of parentheses, before combining it with any other concept.
  2. Use AND only to join separate concepts. Reserve AND for combining distinct concepts, such as exposure and outcome, never for joining synonyms meant to be interchangeable.
  3. Verify parentheses whenever more than two terms are combined. Confirm each concept's OR group is fully enclosed in its own parentheses before the AND statements connect the groups.
  4. Add field tags and proximity operators once the basic logic is correct. Restrict free-text terms to title/abstract fields and consider proximity operators for multi-word phrases with variable wording, checking each database's own syntax first.
  5. Verify truncation and NOT against the specific database's own syntax. Confirm the exact truncation symbol for each platform, and test which records a NOT exclusion removes before finalizing it.

Frequently asked questions

It can be, most often to exclude animal studies or a specific study type that is clearly out of scope, but guidance generally recommends using it cautiously and checking a sample of excluded records first, since NOT can remove genuinely relevant studies that happen to mention the excluded term for an unrelated reason.

No. While AND, OR, and NOT are close to universal, the exact truncation symbol, proximity operators, and default operator precedence vary across platforms, which is one reason peer-review checklists like PRESS specifically ask reviewers to check a translated strategy against the target database's own documentation.

Using AND instead of OR within a single concept's synonym list is a frequently cited error, since it silently narrows results to records containing every synonym simultaneously rather than any one of them, often producing an artificially small, unrepresentative result set.

When a multi-word phrase's exact wording varies across the literature but its component words still need to appear close together to indicate genuine relevance, a proximity operator catches that variation more precisely than AND alone, which would also match records where the two words appear far apart and unrelated to each other.

References

  1. Bramer WM, de Jonge GB, Rethlefsen ML, Mast F, Kleijnen J. A systematic approach to searching: an efficient and complete method to develop literature searches. Journal of the Medical Library Association. 2018;106(4):531-541. read 10 October 2026. View on JMLA
  2. Higgins JPT, Thomas J, Chandler J, et al, editors. Cochrane Handbook for Systematic Reviews of Interventions, version 6.4. Cochrane, 2023, Chapter 4: Searching for and selecting studies. read 10 October 2026. View Cochrane Handbook
  3. Aromataris E, Riitano D. Constructing a search strategy and searching for evidence: a guide to the literature search for a systematic review. American Journal of Nursing. 2014;114(5):49-56. read 10 October 2026. View on AJN
  4. McGowan J, Sampson M, Salzwedel DM, Cogo E, Foerster V, Lefebvre C. PRESS Peer Review of Electronic Search Strategies: 2015 Guideline Statement. Journal of Clinical Epidemiology. 2016;75:40-46. read 10 October 2026. View on Journal of Clinical Epidemiology
  5. Yoshii A, Plaut DA, McGraw KA, Anderson MJ, Wellik KE. Analysis of the reporting of search strategies in Cochrane systematic reviews. Journal of the Medical Library Association. 2009;97(1):21-29. read 10 October 2026. View on PMC
  6. Rethlefsen ML, Kirtley S, Waffenschmidt S, et al. PRISMA-S: an extension to the PRISMA Statement for Reporting Literature Searches in Systematic Reviews. Systematic Reviews. 2021;10:39. read 10 October 2026. View on Systematic Reviews
  7. Kyu HH, Bachman VF, Alexander LT, et al. Physical activity and risk of breast cancer, colon cancer, diabetes, ischemic heart disease, and ischemic stroke events: systematic review and dose-response meta-analysis for the Global Burden of Disease Study 2013. BMJ. 2016;354:i3857. read 10 October 2026. View on The BMJ
  8. Aromataris E, Munn Z, editors. JBI Manual for Evidence Synthesis. JBI; 2020, Chapter 3: Systematic Reviews of Effectiveness. read 10 October 2026. View JBI Manual
  9. Munn Z, Peters MDJ, Stern C, Tufanaru C, McArthur A, Aromataris E. Systematic review or scoping review? Guidance for authors when choosing between a systematic or scoping review approach. BMC Medical Research Methodology. 2018;18:143. read 10 October 2026. View on BMC Medical Research Methodology
  10. Peters MDJ, Godfrey CM, Khalil H, McInerney P, Parker D, Soares CB. Guidance for conducting systematic scoping reviews. International Journal of Evidence-Based Healthcare. 2015;13(3):141-146. read 10 October 2026. View on IJEBH

Every source above is a peer-reviewed article, a publisher’s record of one, or a standard issued by the body that owns it. Each carries the date it was last read. Where a standard moves, this article is revised rather than left up with a note.

How to cite this article

Pick your referencing style and copy it. Your university or target journal may vary the punctuation — check its guide if it has one.

Pubrica Academy. (2026, October 10). Combining Search Terms with Boolean Logic for a Literature Search: Operators, Nesting and Common Errors. Pubrica. https://pubrica.com/academy/publication-support/how-to-combine-search-terms-for-research-paper-publication/

This article is written to be learned from. Cite it if you are referring to what it says; if you are using the evidence behind it, cite the sources listed above instead.

Boolean Combination Worksheet

A search string should be built and checked concept by concept.

Concept A synonyms (joined with OR): ____________________
Concept B synonyms (joined with OR): ____________________
Full string: (Concept A synonyms) AND (Concept B synonyms)
[ ] Checked that OR is used only within a concept group
[ ] Checked that AND is used only between concept groups
[ ] Verified truncation symbol for the specific database
[ ] Considered field tags (title/abstract) and proximity operators for extra precision
[ ] If using NOT, tested what it actually excludes before finalizing

Pubrica AcademyWritten and maintained by Pubrica’s subject matter experts. Articles are revised when the underlying standards change, and each article states the date on which it was last reviewed.

How Pubrica can help

Pubrica's literature search specialists build and verify Boolean search strings concept by concept, checking operator placement and database-specific syntax before a strategy is finalized.

Find something else

Search the Pubrica Academy

Access is free and requires no account. Enter a topic, or open the full library to filter by category, sub-topic or resource type.

Pubrica can verify whether a search string combines concepts correctly or inadvertently excludes relevant studies.

A scoping assessment is free and takes two business days. It provides a written assessment of what the work requires and which specialist would undertake it.

Get a free quote

Regulations

Check your project against this rule

  1. 1Your work
  2. 2Your details
  3. 3Send
What do you need?

Material you send is held under signed confidentiality, with access limited to the assigned team and encrypted transfer. It is not used to train anything and is not passed to third-party tools. Ask for the agreement before you send anything you would rather cover first.