Boolean Search for Recruiters: Operators, X-Ray Strings, and What Comes After

On this page
What is boolean search?
Boolean search is a technique for combining keywords with the logical operators AND, OR, and NOT, named after the 19th-century mathematician George Boole, so that a database returns exactly the set of results you describe. In recruiting, it is the classic way to query resume databases, LinkedIn, and Google for candidates: AND narrows a search to profiles that contain every term, OR widens it to catch synonyms, and NOT cuts out profiles that mention something you do not want.
A recruiter who writes ("software engineer" OR "backend developer") AND python NOT senior is really drawing three circles: everyone with either title, intersected with everyone who mentions Python, minus everyone who mentions senior. That is the whole idea. Everything else in this guide, platform quirks, X-ray queries, string libraries, is just that idea applied with care. This guide is part of the CloudHire guide library for businesses, and it ends with an honest look at where boolean stops working and what replaces it.
The boolean operators, with recruiting examples
Five building blocks cover essentially all recruiting boolean. Learn these and you can read or write any sourcing string.
| Operator | What it does | Recruiting example |
|---|---|---|
| AND | Narrows: every connected term must appear | python AND django AND bengaluru |
| OR | Widens: any one of the connected terms may appear; use it for synonyms and title variants | "qa engineer" OR "test engineer" OR sdet |
| NOT (or a minus sign) | Excludes results containing a term; Google uses a leading hyphen instead of the word NOT | recruiter NOT "us staffing" |
| "Quotation marks" | Locks an exact phrase so multi-word titles are not split into separate keywords | "site reliability engineer" |
| (Parentheses) | Groups an OR list so AND and NOT apply to the whole group, not just the nearest word | ("data scientist" OR "ml engineer") AND (python OR r) |
| * wildcard | Stands in for word endings or missing words where the platform supports it; LinkedIn does not | administrat* ("payroll" OR "benefits") |
One rule prevents most broken strings: never mix AND and OR without parentheses. Written flat, java OR kotlin AND android is ambiguous, and most engines will bind AND more tightly than you intended, quietly returning every Java profile on earth plus Kotlin-and-Android ones. Grouped as (java OR kotlin) AND android, it means what you meant.
Advanced operators for power users
Beyond the core five, a few extras appear on specific platforms. Google adds field operators: intitle: restricts matches to a page's title and inurl: to its address, both invaluable for X-ray work. Some professional resume databases support proximity operators, which require two terms to appear within a set number of words of each other, so "manager" near "payroll" beats profiles that mention both fifty lines apart. None of these are universal: check what your database's dialect supports before leaning on them, because unsupported operators are usually treated as ordinary keywords and quietly poison the search.
The same string behaves differently on every platform
The operators are universal; the implementations are not. A string that works beautifully in one database silently misfires in another, and the failure is invisible because you still get results, just the wrong ones. The differences below are the ones that bite recruiters most often.
| Platform | What works | What to watch |
|---|---|---|
| LinkedIn people search | AND, OR, NOT, quotes, parentheses; type operators in capitals | No wildcards; very long strings get truncated; keyword search scans the whole profile, so pair it with the title field for precision |
| Google (X-ray searching) | Quotes, OR, minus for exclusion, plus power operators: site:, intitle:, inurl:, and the * wildcard | AND is implied by a space and the word NOT is ignored, use a hyphen; Google also loosely interprets terms, so quote anything that must match exactly |
| Indeed and similar resume databases | Core boolean, quotes, and parentheses in resume search, often alongside structured filters for location and experience | Operator support and case-sensitivity vary by board; test a known-good string before trusting counts |
| ATS and internal databases | Usually full boolean; some add proximity or field-scoped operators for surgical queries | Every vendor has its own dialect, and your database only contains people who already applied, which is a fraction of the market |
The practical consequence: maintain one master string per role, then adapt it per platform, capitals and NOT for LinkedIn, hyphens and site: operators for Google, dialect checks for your ATS. If you are weighing which databases deserve that effort in the first place, the comparison in sites like LinkedIn for recruiting covers the main options side by side.
X-ray search: using Google to search LinkedIn and GitHub
X-ray searching points Google at another site's public pages with the site: operator, which is how sourcers reach profiles on platforms where they have no paid seat. Because Google indexes public LinkedIn profiles under the /in path, restricting to that path returns people rather than company pages or job posts.
Three worked examples for one role, a payments-focused backend engineer in Pune:
site:linkedin.com/in ("backend engineer" OR "backend developer") payments pune— public LinkedIn profiles mentioning payments work in Pune.site:linkedin.com/in intitle:(java OR golang) "payment gateway" pune -intitle:recruiter— narrows to profiles whose page title carries the core language, and drops fellow recruiters from the results.site:github.com (golang OR java) pune "payments" -inurl:jobs -inurl:topics— GitHub profiles and repositories from Pune developers who work on payments code, minus job listings and topic pages.
X-ray is free and seat-independent, which is why it survives every platform pricing change. Its costs are real too: you only see what the engine indexed, contact details still have to be hunted down manually, and results arrive as ten blue links with no ranking against your role. Hold that thought for the final section.
Building a string step by step: SRE in Bangalore
Good strings are not written, they are iterated. Here is the full arc for a real search, a Site Reliability Engineer in Bangalore, starting from what the hiring manager actually said on the intake call: "SRE or DevOps background, must know Kubernetes, we run on AWS, Terraform is a big plus, not looking for freshers or pure sysadmins."
Draft 1: too broad
sre OR devops AND kubernetes AND bangalore returns tens of thousands of profiles, because the ungrouped OR lets every DevOps profile through regardless of Kubernetes, and "sre" as a bare keyword matches profiles that merely mention working with an SRE team.
Draft 2: too narrow
Overcorrecting with "site reliability engineer" AND kubernetes AND aws AND terraform AND bangalore NOT devops collapses the pool to a few dozen. Demanding the exact title excludes everyone titled DevOps Engineer or Platform Engineer doing identical work, requiring the nice-to-have Terraform as a must-have halves the pool again, and NOT devops actively deletes strong candidates whose profiles mention both worlds, which most do.
Draft 3: balanced
("site reliability engineer" OR sre OR "devops engineer" OR "platform engineer") AND kubernetes AND (aws OR "amazon web services") AND (bangalore OR bengaluru) NOT intern groups the title synonyms, keeps the two genuine must-haves as ANDs, covers both spellings of the city, moves Terraform out of the string entirely, it becomes a screening question instead, and limits NOT to the one exclusion that is unambiguous. The pool lands in the hundreds: reviewable, and rich.
The pattern generalizes. Titles get an OR group, true must-haves get AND, nice-to-haves stay out of the string, locations get their spelling variants, and NOT is spent sparingly. Run the search, read twenty results, adjust, repeat.
Common boolean mistakes recruiters make
Boolean errors rarely announce themselves. A broken string still returns a page of plausible-looking profiles, so the damage, the strong candidates who never appeared, stays invisible unless you know where to look. These five mistakes account for most of it.
- Over-NOTing. Every NOT deletes people who merely mention the term. NOT java removes a Python developer whose profile says "migrated legacy Java services to Python", exactly who you wanted. Exclude only terms that are unambiguous disqualifiers.
- Synonym blindness. The market never agrees on one word. Search accountant without "accounts executive", or frontend without "front end" and "front-end", and you silently lose a third of the pool. Every concept in your string deserves an OR group.
- Title-only thinking. Titles describe org charts, not skills. The best candidate for your Growth Marketer role may be titled Digital Marketing Specialist. Anchor strings on skills and tools, with titles as one OR group among several.
- US-title bias in India hiring. Indian profiles run on their own conventions: SDE-1 and SDE-2 rather than Software Engineer I, "team lead" carrying real seniority, MBA and B.Tech as searchable credentials, and city spellings like Bengaluru and Gurugram alongside Bangalore and Gurgaon. Strings imported from US sourcing playbooks undercount Indian talent badly.
- Trusting result counts. A count tells you volume, not quality. A search returning 40 profiles feels precise but may be 40 profiles that survived a broken string. Read actual results before judging a query.
The honest limits of boolean search, and what AI changes
Boolean search has three structural limits no amount of skill removes. First, vocabulary mismatch: boolean matches strings, not meaning, so a candidate who writes "built container orchestration on EKS" is invisible to a Kubernetes search unless the word appears. Second, no ranking: results are an unordered set, and profile 4 is not more relevant than profile 400, so the sorting burden lands on your eyes. Third, maintenance: every live role means a portfolio of strings across platforms, each drifting out of date as titles and tools evolve.
These limits are why sourcing platforms are moving the boolean layer under the hood. CloudHire's AI candidate sourcing keeps boolean available for recruiters who want the control, but as a chip builder: title, skill, and exclusion chips assemble into grouped AND, OR, and NOT logic visually, so there are no unbalanced parentheses and no platform dialects to memorize. Alongside it sit a plain-English mode, describe the role the way you would to a colleague, and a JD-paste mode that converts a full job description into a structured query automatically.
All modes run against CloudHire's index of more than 700 million professional profiles, and, crucially, every search is anchored to a job, so results come back ranked with a match score per candidate rather than as an unordered keyword dump. The same scoring engine that powers CloudHire's resume screening runs at sourcing time, which means the disqualification work you used to do call by call happens in the results list instead. Boolean stops being the whole craft and becomes what it always should have been: one precise instrument among several.
To be clear, this is not boolean versus AI, and the skill you built reading this guide does not depreciate. Boolean remains the right tool when you need an auditable, exactly reproducible query, when a niche search hinges on one rare certification or tool name, or when a hiring manager asks precisely why a candidate did or did not appear. What changes is the division of labor: the logic stays yours, while the typing, the synonym expansion, the platform dialects, and the ranking stop being your job.
If your team spends hours a week hand-tuning strings, that is the workflow to compare against. Try CloudHire free and run your hardest current search in plain English, or talk to the CloudHire sales team for a walkthrough on your own roles.
Copy-paste boolean string library
Eight starter strings for common roles. Treat each as draft 1: swap in your location, adjust seniority exclusions to taste, and convert NOT to a hyphen when running them on Google.
| Role | Boolean string |
|---|---|
| Frontend developer | ("frontend developer" OR "front end developer" OR "ui developer") AND (react OR angular OR vue) AND (javascript OR typescript) NOT intern |
| Sales manager | ("sales manager" OR "business development manager" OR "account manager") AND (b2b OR saas OR enterprise) AND (quota OR revenue OR pipeline) |
| Registered nurse | ("registered nurse" OR "staff nurse" OR rn) AND (icu OR "critical care" OR emergency) AND ("bsc nursing" OR "gnm" OR license) NOT student |
| Accountant | (accountant OR "accounts executive" OR "senior accountant") AND ("accounts payable" OR "accounts receivable" OR reconciliation) AND (tally OR sap OR quickbooks OR excel) |
| Data scientist | ("data scientist" OR "machine learning engineer" OR "ml engineer") AND python AND ("machine learning" OR "deep learning" OR nlp) AND (tensorflow OR pytorch OR "scikit-learn") |
| Mechanical engineer | ("mechanical engineer" OR "design engineer" OR "manufacturing engineer") AND (autocad OR solidworks OR catia OR "creo") AND ("b.tech" OR "b.e" OR diploma) NOT fresher |
| DevOps engineer | ("devops engineer" OR "platform engineer" OR sre) AND (docker OR kubernetes) AND (aws OR azure OR gcp) AND ("ci/cd" OR jenkins OR "github actions") |
| Digital marketer | ("digital marketing" OR "performance marketing" OR "growth marketing") AND ("google ads" OR "meta ads" OR ppc OR sem) AND (seo OR "google analytics" OR ga4) |
Each of these compiles directly into CloudHire's chip builder if you would rather run them ranked: paste or rebuild the groups as chips, anchor the search to your job, and the same logic returns scored candidates instead of raw keyword hits. For a comparison of how that differs from seat-based database search, see CloudHire vs LinkedIn Recruiter.
Frequently asked questions
What is boolean search?
Boolean search is a way of combining keywords with the logical operators AND, OR, and NOT, named after the mathematician George Boole, to control exactly which results a database returns. Recruiters use it to search resume databases, LinkedIn, and Google for candidates: AND narrows results to profiles containing every term, OR widens them to include synonyms, and NOT removes profiles containing an unwanted term.
What are the 3 main boolean operators?
The three main boolean operators are AND, OR, and NOT. AND requires every connected term to appear, so it narrows a search. OR accepts any one of the connected terms, so it widens a search and is ideal for synonyms like developer OR programmer. NOT excludes results containing a term. Two supporting elements complete the toolkit: quotation marks lock an exact phrase, and parentheses group OR lists so operators apply in the right order.
Does LinkedIn support boolean search?
Yes. LinkedIn supports AND, OR, and NOT, quotation marks for exact phrases, and parentheses for grouping in its people search fields, and operators should be typed in capital letters. LinkedIn does not support wildcards, so an asterisk will not expand a word stem, and very long strings can be truncated. Many sourcers also X-ray LinkedIn from Google using site:linkedin.com/in queries to reach public profiles without seat limits.
What is an X-ray search in recruiting?
X-ray search means using a general search engine, usually Google, to search inside another website by adding a site: operator to a boolean string. A query beginning site:linkedin.com/in restricts results to public LinkedIn profiles, and site:github.com surfaces developer profiles and repositories. Recruiters combine site: with quoted job titles, skills, and locations to find candidates on platforms they do not have paid access to.
Is boolean search still relevant now that AI sourcing exists?
Boolean logic still matters because it gives recruiters precise, explainable control over a search, but hand-typing strings is fading. Boolean cannot rank results, misses candidates who use different words for the same skill, and every string needs manual upkeep. Modern platforms such as CloudHire keep boolean available through a chip builder while adding plain-English and job-description search with match scoring, so precision and ranking work together instead of competing.
Related guides
See CloudHire on your own roles
Search candidates, run AI interviews and launch outreach on one platform — free to start, no demo call required.


