Building Boolean Search Strategies Across Databases https://yila.ai

yilatraceby38 3c8898470b Add research workflow guide 1 mēnesi atpakaļ
README.md 3c8898470b Add research workflow guide 1 mēnesi atpakaļ

README.md

Building Boolean Search Strategies Across Databases

A search strategy is a piece of engineering. It has to retrieve nearly everything relevant, exclude as much irrelevant material as possible, and work across databases that each have their own syntax, controlled vocabulary and quirks. A good strategy is also documented well enough that someone else could re-run it and get the same results. This guide walks through building a Boolean search strategy step by step, from concepts to a tested, translated and documented search.

Start with concepts

Begin with your structured research question. Each component that defines eligibility, typically population, intervention or exposure, and sometimes outcome or study design, becomes a concept block. Most strong strategies have two to four blocks. More blocks make the search more precise but risk missing studies that describe one concept poorly in the title and abstract.

For a question about mobile reminders to improve medication adherence in older adults, the blocks might be:

  1. Older adults
  2. Mobile reminders (SMS, apps, phone calls)
  3. Medication adherence

Outcome blocks are often omitted at first because outcomes are described inconsistently; you can add them if the result set is unmanageably large.

Gather terms for each concept

For each block, collect two kinds of terms.

Controlled vocabulary. Many databases index records with subject headings: MeSH in MEDLINE, Emtree in Embase, the thesaurus in PsycINFO, and so on. Find the most relevant headings, check their scope notes and decide whether to "explode" them to include narrower terms.

Free-text terms. Authors use many words for the same idea. Collect synonyms, abbreviations, spelling variants (British and American), plural forms and older terminology. Sources for terms include known relevant papers, their keywords, subject heading entry terms and conversations with subject experts.

Combine with Boolean logic

Within a block, combine terms with OR, because any of them indicates the concept. Between blocks, combine with AND, because a relevant record must address every concept. Use NOT sparingly: it removes any record containing the excluded term, including relevant ones that merely mention it.

A simplified structure looks like this:

#1 exp Aged/ OR (older adult* OR elderly OR senior* OR "aged 65").ti,ab.
#2 Text Messaging/ OR (SMS OR "text messag*" OR reminder* OR app OR apps).ti,ab.
#3 Medication Adherence/ OR (adheren* OR complian* OR persistence).ti,ab.
#4 #1 AND #2 AND #3

Use truncation, wildcards and proximity

  • Truncation (often *) captures word endings: adheren* finds adherence, adherent and adherences.
  • Wildcards (often ? or #) handle spelling variants: behavio?r.
  • Phrase searching with quotation marks keeps words together: "text message".
  • Proximity operators such as adj3 or NEAR/3 find words close to each other in any order. They are often more precise than phrases and more sensitive than AND.

Be careful with short truncated stems. app* retrieves apple, application, appraisal and approach, flooding results with noise.

Test the strategy

A strategy is not finished until it has been tested.

Check known studies. Before running the final search, list five to ten studies you know are relevant. Confirm the strategy retrieves all of them. If one is missing, find out why: usually a missing synonym or subject heading.

Inspect samples of results. Look at the first hundred records and at a random sample further down. Are most of them roughly on topic? If not, identify the terms causing noise.

Test each block separately. Running each block alone shows you which concept is producing most of the volume and helps you tune it.

Translate across databases

Each database needs its own version of the strategy. Translation involves:

  • mapping subject headings to the target database's vocabulary;
  • adjusting field codes, such as .ti,ab. versus [tiab] versus TITLE-ABS-KEY();
  • converting proximity and truncation syntax;
  • checking that limits such as language or date are applied equivalently.

Translation tools can help with syntax conversion, but always review the result manually. Subject headings rarely map one-to-one, and a careless translation can quietly halve the sensitivity of a search.

Search beyond the bibliographic databases

Databases are not the whole literature. Consider trial registries, preprint servers, theses repositories, grey literature from relevant organisations, citation searching (backward and forward) from included studies, and contacting experts. Each source needs its own simple, documented search.

Document everything

A reproducible search records, for each source:

  • the database name and platform;
  • the date the search was run;
  • the full strategy exactly as entered, with line-by-line result counts;
  • any limits or filters applied;
  • the number of records exported.

Store these in an appendix. Reporting guidelines such as PRISMA-S give a detailed checklist. Documentation also protects you when you need to update the review: you can re-run the identical strategy and screen only the new records.

Keeping track of what the search finds

Once records are retrieved, the challenge shifts to managing them: deduplicating, screening and eventually reading full texts. Keeping a clear link from each included study back to the search that found it, and from each extracted claim back to the passage in the study, makes the whole review auditable. Research workbenches such as Yila (https://yila.ai) focus on this second half of the trail, keeping notes, summaries and tables connected to their source passages once the documents are in your workspace.

Balancing sensitivity and precision

Every strategy trades sensitivity (finding all relevant records) against precision (avoiding irrelevant ones). For systematic reviews, sensitivity usually wins: screening an extra thousand records is preferable to missing a key trial. For rapid reviews or scoping exercises with tight deadlines, more precision may be acceptable, provided the trade-off is stated. Validated search filters for study designs, such as randomised trials, can improve precision without large losses in sensitivity, but choose filters that have been tested for the database you are using.

Common mistakes

  • Relying only on subject headings. Recent records may not yet be indexed. Always combine headings with free text.
  • Too many AND blocks. Each extra block risks excluding relevant studies that describe that concept poorly.
  • Over-using NOT. It removes relevant records along with irrelevant ones.
  • Not testing against known studies. This is the single most effective quality check and the one most often skipped.
  • Undocumented changes. Small edits made "just to check something" often end up in the final search without being recorded.

Ask for peer review of the search

Many information specialists use structured peer review of search strategies, checking translation of the question, Boolean logic, subject headings, free-text terms, spelling and limits. If your institution has a librarian or information specialist, ask them to review your strategy before you run the final searches. It is one of the best investments of an hour in the entire review.

Conclusion

Building a Boolean search strategy is iterative: define concepts, gather terms, combine them logically, test against known studies, translate carefully and document thoroughly. A well-built strategy gives you confidence that your review rests on a complete and reproducible evidence base, and it makes every later stage of the project easier.