All articles
Sourcing & outreach

Why AI Candidate Search Ignores Your Location Filter, and How to Fix It

Claude gave 2 of 15 slots to people who met an on-site Tel Aviv rule when the job said only 'office'. State a hard requirement, or filter the column first.

  • Better hires
  • Saves time

Sep 29, 2026 · 5 min read

2 of 15. That is how many on-site, Tel Aviv-based people Claude put on its shortlists when the job said only "Tel Aviv-Yafo office". Gemini managed 8 of 15. The other slots went to people in Ramat Gan, Herzliya and Petah Tikva who looked stronger and failed the one rule we cared about.

The fix in one line: write the location as a hard requirement ("the candidate lives in [city] today, no relocation, no remote"), or filter the location column in a spreadsheet before the AI sees a single profile.

If your search... Do this
lets you filter structured fields Filter location and on-site first: all 5 qualified people made all six shortlists
is a chat assistant over a pasted list State the hard requirement, and define the near misses if you want it strict
ranks by similarity Treat the top results as leads and check each location yourself

A round gold picket fence with three cream CV cards inside and others left outside

35 profiles, one hard rule

Thirty-five made-up candidates for an on-site Senior Backend Engineer role in Tel Aviv-Yafo, no relocation, no remote. Ten live there and will commute; 5 of those meet the must-haves. The other 20 were stronger-looking near misses: nearby cities, relocators from Berlin or London, and three remote-only Tel Aviv people. Each prompt ran three times in Claude (Opus, no tools) and in Gemini 3.8 Flash.

Shortlist slots held by people who meet the location rule (3 runs of 5 slots)
Job says only 'Tel Aviv office'One 'hard requirement' line addedClaudeClaude: Job says only 'Tel Aviv office' 2, One 'hard requirement' line added 152 → 15GeminiGemini: Job says only 'Tel Aviv office' 8, One 'hard requirement' line added 158 → 15

35 invented profiles, 3 runs per tool and prompt. Counted from the saved answers.

Source: our test with Claude (Opus) and Gemini 3.8 Flash

Show the data
Job says only 'Tel Aviv office'One 'hard requirement' line added
Claude215
Gemini815

One plain line did most of the work. Add "Hard requirement: the candidate lives in Tel Aviv-Yafo today and is willing to work on-site" and all 30 slots went to people who met the rule.

Where the filter really leaked

1. The rule was never a rule. "Tel Aviv-Yafo office" reads to a person as "must be able to come in", and the models read it that way too. Claude wrote "Ramat Gan, on-site OK" beside its picks. It wasn't ignoring the filter; it was answering a looser question.

2. Similarity search. Many sourcing tools rank by how close a profile's text is to your query. We embedded the 35 profiles with Gemini's embedding model and ranked them against "Senior backend engineer, Python, PostgreSQL, 5+ years, on-site in Tel Aviv-Yafo, lives in Tel Aviv-Yafo". Of the top 10, only 4 passed the rule:

Rank Who Passes?
1, 4 Tel Aviv, remote only No
2, 3, 5, 9 Tel Aviv, on-site Yes
6, 7, 8, 10 Herzliya, Petah Tikva, Herzliya, Ramat Gan No
11 Tel Aviv, on-site Yes, but cut off

The ranking rewarded the words "Tel Aviv" and "senior" and barely noticed "Remote only" or a nearby city. Location is a hint, not a gate. Google's Cloud Talent docs say broadening "may decrease the relevance", and Bullhorn lets you switch distance filtering off.

The stricter prompt, and where it still wobbles

For pasted lists, this block adds definitions and a two-step check. We ran it on the same 35 candidates, three times per tool. Every name met the rule, though Claude returned only 7 names in 3 runs, not 15: it wouldn't count "production services" as met unless the profile said so. Adapt it:

You are helping a recruiter shortlist candidates. You sort; a person decides.

Job: [title, office city, days on-site]
Must-haves: [3-5 must-haves]
Hard requirement: the candidate lives in [city] today and is willing to work on-site. There is no relocation budget and no remote option.

Rules:
- Step 1: for every candidate, copy the Location and Note fields exactly and mark LOCATION PASS only if the location is [city] and the note says open to on-site. A nearby city is not [city]. Relocating is not living there. Remote only is not on-site.
- Step 2: rank only the LOCATION PASS candidates against the must-haves. Show at most 5.
- If fewer than 5 pass both steps, show fewer. Never fill the list with near misses.

Candidates:
[paste candidates]

Two risks the outputs showed:

  • Claimed evidence. Gemini credited #13 and #32 with production experience their profiles don't state; Claude marked both "not stated". Check every "met" against the profile.
  • A strict rule can be the wrong rule. It cut #6, #20 and #29, strong commuters. Confirm with the hiring manager that "lives in" is the real rule.

Next step: if your location field is a mess ("TLV", "Tel-Aviv", "Greater Tel Aviv"), clean it first with cleaning candidate location data with Claude or Gemini. A hard filter is only as good as the column under it.

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