All articles
Screening

Boolean vs Semantic Search for Candidate Screening: The 'No' Only Claude and Gemini Read

Boolean search misses people who use other words; semantic search can't read 'no'. Use Boolean for hard lines, an AI read with quotes for the rest.

  • Better hires
  • Consistent decisions
  • Saves time

Oct 9, 2026 · 11 min read

1 of 9. That's how many qualified payroll specialists a careful-looking Boolean string found in a pool of 20 applicants. The other eight were right there, writing "pay runs" instead of "payroll", "Certified Payroll Professional" instead of "CPP", and "Canada and the US" instead of "international".

So semantic search wins? Not so fast. The semantic ranking we ran put a candidate who wrote "no international payroll experience yet" at number 4, for a job where two countries was a must-have.

The short answer: Boolean search finds exactly what you typed and nothing else, so it drops people who describe the same work in other words. Semantic search finds people who sound like the job, but a similarity score can't read "no", "studying for" or "since 2025". In our test, the best shortlist came from letting Claude or Gemini read each CV against the must-haves and quote the line behind every one. Use Boolean as a wide net or for hard lines, never a similarity score as the shortlist, and read the edges yourself.

Twenty payroll CVs and an answer key

We invented one job and 20 short CVs, and wrote the answer key before running anything. The job: a remote Payroll Specialist paying about 350 people in 5 countries. Four must-haves:

  1. 3+ years processing payroll end to end for 100+ employees
  2. Hands-on experience with any payroll system
  3. Payroll in at least 2 countries
  4. A current payroll certification (CPP, FPC, CIPP, PCP or similar)

Nine CVs meet all four, in different words. One is in Spanish ("Proceso la nómina mensual de 320 empleados en México, Colombia y Perú"). One has a two-year career break. Ten don't qualify but look as if they do: an ADP salesperson who sold "global payroll software", someone "currently studying for the CPP exam", a payroll analyst who started in 2025, an HR assistant whose skills list reads like the job ad, and a payroll administrator who says "US only - no international payroll experience yet". One more, an implementation consultant who sets payroll up and hands it over, is a fair "maybe".

Then we ran four methods on the identical pool:

  • Boolean, strict and tuned: the string a busy recruiter writes, and a second one after we knew the synonyms, run by a script with whole-word matching.
  • Embedding search: semantic search in the strict sense. Gemini's embedding model (gemini-embedding-001) turned the job and each CV into vectors, and a script ranked the CVs by closeness. We kept the top 9.
  • An AI read: Claude Opus 5.5, blind to our key, and Google's gemini-3.8-flash each read all 20 CVs with the same prompt, twice.
Same 20 CVs, four ways to shortlist
Qualified people found (of 9)Unqualified people let in (of 11)Boolean, strictQualified people found (of 9), Boolean, strict: 11 Qualified people found (of 9)Unqualified people let in (of 11), Boolean, strict: 22 Unqualified people let in (of 11)Boolean, tunedQualified people found (of 9), Boolean, tuned: 99 Qualified people found (of 9)Unqualified people let in (of 11), Boolean, tuned: 77 Unqualified people let in (of 11)Embedding top 9Qualified people found (of 9), Embedding top 9: 55 Qualified people found (of 9)Unqualified people let in (of 11), Embedding top 9: 44 Unqualified people let in (of 11)Claude, run 1Qualified people found (of 9), Claude, run 1: 77 Qualified people found (of 9)Unqualified people let in (of 11), Claude, run 1: 00 Unqualified people let in (of 11)Claude, run 2Qualified people found (of 9), Claude, run 2: 66 Qualified people found (of 9)Unqualified people let in (of 11), Claude, run 2: 00 Unqualified people let in (of 11)Gemini, run 1Qualified people found (of 9), Gemini, run 1: 77 Qualified people found (of 9)Unqualified people let in (of 11), Gemini, run 1: 00 Unqualified people let in (of 11)Gemini, run 2Qualified people found (of 9), Gemini, run 2: 77 Qualified people found (of 9)Unqualified people let in (of 11), Gemini, run 2: 00 Unqualified people let in (of 11)

The 11 not qualified include one borderline CV. Claude and Gemini put the other 2 qualified people in Maybe, not out.

Source: our test, counted by script against an answer key written before the runs

Show the data
Qualified people found (of 9)Unqualified people let in (of 11)
Boolean, strict12
Boolean, tuned97
Embedding top 954
Claude, run 170
Claude, run 260
Gemini, run 170
Gemini, run 270

Round 1: same job, different words

This round is the one Boolean exists to lose. The strict string:

("payroll specialist" OR "payroll administrator" OR "payroll analyst" OR "payroll manager" OR "payroll coordinator") AND (ADP OR Workday OR Paylocity OR Hibob OR Deel OR SAP) AND (CPP OR FPC OR CIPP) AND (international OR global OR multi-country)

Every block of it dropped someone good. The script counted which qualified people each block lost:

Block Qualified people it dropped Why
Job titles 4 "Compensation & Benefits Coordinator", "People Operations Specialist", "Payroll & HR Operations Lead", "Especialista de Nómina"
Payroll systems 4 Sage People, Rippling, Ceridian Dayforce, Paycom weren't in the list
Certifications 3 "Certified Payroll Professional" spelled out (twice), and a Canadian PCP
"International" 7 People name the countries: "Israel and Cyprus", "Spain and Portugal"

The last row is the quiet killer. People don't write "multi-country" about their own job. They name the countries.

The embedding ranking did better on words, but not on everyone. The Spanish CV came 7th, close to the top. The "Compensation & Benefits Coordinator" who runs "monthly pay runs for 240 staff across the UK, Ireland and Germany" came 16th of 20, below the HR assistant with the stuffed skills list.

Claude and Gemini both put that coordinator on the shortlist in both runs. Claude's reason, unedited: "Job title is Comp & Ben, but runs pay runs from timesheet to bank file for 240 people in 3 countries; holds the CIPP".

Round 2: the lookalikes

Here the tuned Boolean string, which found all 9 qualified people, paid for it:

(payroll OR "pay runs" OR "pay run" OR salaries OR nómina) AND (CPP OR FPC OR CIPP OR PCP OR "certified payroll")

It let in 6 of the 10 who don't qualify, plus the borderline consultant, including the ADP salesperson (whose CV mentions "CPP concepts") and the HR assistant whose only work line is "onboarding paperwork and filing". Keywords can't tell doing payroll from selling it.

Embeddings handled the obvious lookalikes: the salesperson came 17th and the accounts payable specialist 19th. Both AI reads put all of them out, with reasons. Gemini on the HR assistant: "listing unevidenced keywords with no demonstrated payroll processing history."

Round 3: the word "no"

Maya listening to a stack of CVs with a stethoscope

This is where semantic ranking broke, and the reason matters more than the score.

Candidate's own line Embedding rank (of 20) Claude Gemini
"US only - no international payroll experience yet" 4th Out Out
"Currently studying for the CPP exam (sitting in March)" 8th Out Out

A similarity score measures how much a CV sounds like the job. "No international payroll experience" sounds a lot like "international payroll experience". Google's newer embedding model, gemini-embedding-2, did no better: it ranked that same candidate 2nd.

The strict Boolean string fell for the same line, because "no international" contains "international". Both methods count words. Neither reads the sentence.

Round 4: numbers and hard lines

Two more traps: a payroll specialist covering "14 US states" and a payroll analyst in the job "2025 to now". Boolean can't count years. The embedding ranking put the multi-state CV 5th and the 2025 starter 11th.

Both AI reads caught both. Gemini on the analyst: "'2025 to now' falls well short of 3+ years". Claude on the states: "several states is still one country".

Then the line neither tool could check: must-have 4 said "current", and a CV only shows the year a certification was earned. Claude said so before its table: "a CV shows the year a certification was earned, not whether it is still current." Gemini called certifications "active" or "current" when the CV gave only a name and a year, like "CPP, 2020". It questioned only the one from 2005.

Maya turning the dial of a giant combination lock

Round 5: run it twice

Same prompt, new session, same day.

Run 1 Run 2
Claude shortlist 7 of 9 qualified 6 of 9: moved the Israel and Cyprus administrator to Maybe because "Hibob is mainly an HR system"
Gemini shortlist 7 of 9 qualified 7 of 9; moved the implementation consultant from Maybe to Out
Unqualified on either shortlist 0 0

Both tools put the same two qualified people in Maybe in every run: the payroll lead working "through Deel and Papaya Global", and a payroll manager who leads a team of 4. Both asked how hands-on those two are, a fair phone-screen question. The career-break candidate made every AI shortlist.

Scripts never change their answer. That's Boolean's honest strength: consistent, explainable, and wrong the same way every time.

Which one to use

  • You need a hard line at scale (a licence, a named certification): use a Boolean string, then read what it drops. Not for countries: here keywords failed that line both ways, so countries need the AI read or you. Write the synonyms first, as in our guide to Boolean strings with Claude or Gemini.
  • You need people who describe the job in their own words: an AI read with quotes found 6 or 7 of 9 on every run, and missed no one outright.
  • You're handed a ranked "match score": treat it as an order to read in, not a cut-off. Ours scored all 20 CVs between 0.66 and 0.77, with a self-declared mismatch at 4th.
  • A big pool: a tuned Boolean net first (it kept all 9 qualified here), then the AI read on what's left, then you.

The prompt behind the AI read

Swap the job and CVs. Keep the rules: they're what caught the salesperson and the "no".

PERSONA
You are an experienced recruiter helping me shortlist applicants for one role. You sort candidates for a human to review. You never reject anyone.

TASK
Read every CV below against the must-haves in the job. Put each candidate in one group: "Shortlist", "Maybe - needs a human look" or "Not a match on the must-haves".

CONTEXT
Job:
[paste the job with 3-5 numbered must-haves]

Rules:
- Judge the evidence of what the person actually did, not job titles or the words in a skills list.
- Count equivalent experience described in other words or another language.
- For every must-have you mark as met, quote the CV line behind it.
- If the CV doesn't show a must-have, write "not enough information". Don't guess.
- Ignore names, age, graduation year, career breaks and company prestige.

FORMAT
1. A table: Candidate | Group | Must-haves met (out of [number]) | One-line reason
2. Under the table, one line per candidate that is not in "Shortlist": which must-have is missing or unclear.
3. Last line, exactly: SHORTLIST: <candidate numbers> | MAYBE: <numbers> | NOT: <numbers>

CVs:
[paste CVs with names and contact details removed, labeled Candidate 01, 02...]

What can go wrong with each

  • Boolean fails silently. You never see the 8 people it didn't return. Don't search for "international"; search for the countries you hire in, then skim 10 CVs the string dropped.
  • Embeddings look scientific. A two-decimal score invites a cut-off, and ours would have shortlisted a "no".
  • AI reads sound sure. Check three quotes per shortlist against the CV, and watch for words like "active" or "current" that the CV never said.
  • All of them carry bias in. Remove names, photos and dates of birth before an AI sees a CV, and read the Maybe and Out groups yourself. A person makes every reject decision, and candidates should know AI helps sort. Rules on automated hiring decisions differ by place (the EU's GDPR, in Article 22, is one example). This isn't legal advice; consult your lawyer about where you hire.
  • Data: paste only into a work account with training on candidate data turned off.

Next step: if the AI read is your shortlist method, set up the review that checks it. Human-in-the-loop resume screening walks through a review step that can disagree with the tool, and finding adjacent job titles builds the synonym list your Boolean string was missing.

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

Keep reading