What is boolean search in recruitment?
Boolean search is a way of searching where you combine keywords with the logical operators AND, OR and NOT. Recruiters use it to define exactly which words must appear in a candidate profile, which ones are optional and which ones must not appear. It works on LinkedIn, in Google, on many job boards and in applicant tracking systems.
Where does the name come from?
The name comes from George Boole, an English mathematician. In the 19th century, he described a logic that works with only two values, true and false. A sequence of keywords and operators is called a boolean string. A good string returns fewer but more relevant results.
How do AND, OR and NOT work?
| Operator | What it does | Results | Example |
|---|---|---|---|
| AND | All conditions must be met. | Fewer | accountant AND SAP |
| OR | Any of the conditions is enough. | More | tester OR QA |
| NOT | Excludes a term. | Fewer | developer NOT junior |
Quotes and parentheses
Quotes search for an exact phrase. The term "project manager" finds only that phrase, not profiles where the two words are far apart.
Parentheses group conditions that belong together. They usually hold synonyms joined with OR, for example (Java OR Kotlin) AND Berlin.
In what order are operators evaluated?
LinkedIn evaluates a string in this order: quotes first, then parentheses, then NOT, then AND, and OR last. That is why parentheses matter.
| String | What it finds |
|---|---|
| Java OR Kotlin AND Berlin | Everyone with Java anywhere, plus people with Kotlin in Berlin. |
| (Java OR Kotlin) AND Berlin | People with Java or Kotlin in Berlin. |
AND takes precedence over OR, so the first string is read as Java OR (Kotlin AND Berlin). Parentheses fix the results.
Boolean search examples for LinkedIn
| Who you are looking for | Boolean string |
|---|---|
| An accountant who knows SAP | (accountant OR "accounting specialist") AND SAP |
| A frontend developer | ("frontend developer" OR "front-end developer") AND (React OR Vue) |
| An experienced salesperson | ("key account manager" OR "sales representative") NOT (junior OR intern) |
Type the string straight into the LinkedIn search bar, then narrow the results with filters such as location. According to LinkedIn Help:
- Type AND, OR and NOT in uppercase letters.
- Only round parentheses group terms. Square, curly and angle brackets are treated as ordinary characters.
- Wildcards such as an asterisk don’t work.
- The + and – operators are not officially supported. Use AND and NOT instead.
Boolean search in Google
You can also find people with public profiles through Google. This is called X-ray search. Google has its own rules:
- site: limits results to one website, for example site:linkedin.com/in.
- Quotes search for an exact phrase.
- A minus sign in front of a word excludes it.
- OR in capital letters joins alternatives.
Example: site:linkedin.com/in ("payroll specialist" OR "payroll accountant") Prague
GDPR applies to web searches too. If you save data from a public profile to your database, tell the candidate who you are and why you have their data. Do it within one month at the latest, or at the first contact if you reach out sooner. This follows from Article 14 of the GDPR.
Common mistakes
- Lowercase operators. LinkedIn reads and and or as ordinary words.
- Missing parentheses. A list of synonyms joined with OR but not grouped breaks the whole string.
- Too few variants. Job titles vary, for example HR, human resources and people operations. Include the common versions.
- Only one language. In non-English markets, many people list their job title in English. Search both languages.
- Too many NOTs. Every exclusion can remove a good candidate.
- Quotes from Word. Copied quotation marks can have a different shape. Type them directly into the search bar.
Save the strings that work. When a string brings good results, save it with the role. You will save time the next time you hire for a similar position.
From practice
According to a 2022 case study, Hungarian HR services company WHC keeps a large candidate database in RECRU. Its team uses boolean search to find specific terms in CVs and says this helps them find more relevant candidates. The search they use most, however, is filtering by skills, which RECRU extracts from CVs as tags. Read the full WHC case study.
Boolean search and RECRU
RECRU lets you build boolean strings in seconds and search your talent pool with them. You can filter by skills, keywords, past or current job titles, companies, location and internal hiring stages. Combining boolean search with these filters gives even more accurate results.
If you don’t want to write strings, the AI agent in RECRU finds candidates from a plain sentence or a full job description. The LinkedIn browser extension shows how well a LinkedIn profile matches your open roles as a percentage.
RECRU is a cloud service you can try free for 14 days.
Frequently asked questions
What do AND, OR and NOT mean?
AND means both, OR means either and NOT means without. AND and NOT narrow results, OR broadens them.
Do boolean operators have to be in capital letters?
On LinkedIn, yes. LinkedIn Help says the search may not work correctly otherwise. In Google, OR is also typed in capitals, and a minus sign is used instead of NOT.
Is boolean search still needed now that AI search exists?
AI search understands plain sentences and finds profiles that describe skills in different words. Boolean search is useful when you want exact control over what must and must not be in the results. Many recruiters use both.
What is X-ray search?
Searching for profiles through Google with the site: operator. For example, site:linkedin.com/in plus keywords finds public LinkedIn profiles.
Subscribe To Our
HR Newsletter
Stay updated and get the latest scoop on HR topics.
We care about your data in our privacy policy