LinkedIn Boolean Search Query Builder
Core Boolean Operators
LinkedIn supports three primary Boolean operators:
- AND: All terms must be present (implied by default, can be explicit)
- OR: At least one term must be present
- NOT: Excludes terms from results
- Quotation marks
"": Exact phrase matching - Parentheses
(): Groups terms to control logic order
Basic Syntax Rules
- Case insensitive: Operators work in any case, but UPPERCASE is recommended for clarity
- Implicit AND: Space between terms defaults to AND
- Grouping: Use parentheses to control operator precedence
- Quotes: Use for exact job titles, company names, or multi-word phrases and location
Filter rules
- Apply filters for locations, company, and connection type only
- Use filters when finding specific locations, etc. is explicitly mentioned
- Navigate using 'linkedin_search_page_navigation' skill
Search Pattern Examples
(developer OR engineer) AND (python OR java)
Multiple role variations with required skills.
"product manager" AND "london"
Exact phrase with location keyword within quotes.
(react OR angular) AND typescript NOT junior
Skills combination excluding unwanted terms.
LinkedIn-Specific Search Filters
While Boolean operators work in the main search, combine them with LinkedIn's built-in filters for precision:
Available Filters (apply after search if specified, refer 'linkedin_search_page_naviagtion' skill for navigation)
- 1st, 2nd, 3rd+ connections: Filter by network proximity
- Location: Specific cities, regions, or countries
- Current companies: Filter by current employer
- Past companies: Find people who worked at specific companies
- Industries: Target specific industry sectors
- Profile language: Search profiles in specific languages
- Schools: Find alumni from specific universities
- Service categories: For service providers
Location Filter Usage Rules
- "Based in [Location]": Apply the specific Location filter for that region/country.
- Example: "Find AI engineers based in Japan" -> Apply
Location: Japanfilter.
- Example: "Find AI engineers based in Japan" -> Apply
- "Associated with [Location]": Do NOT apply the Location filter. Instead, include the location name as a keyword in the Boolean string.
- Example: "Find people associated with Japan" -> Add
AND "Japan"to the query string, but do not restrict the Location filter (to catch expats, people with past education/work there, etc.).
- Example: "Find people associated with Japan" -> Add
Advanced Query Examples
("software engineer" OR "senior developer") AND (aws OR azure) AND python NOT manager
Complex criteria: senior ICs with cloud and Python skills.
("ai engineer" OR "ml engineer") AND pytorch NOT founder NOT ceo
IC roles only: excludes executives who have AI skills but aren't hands-on engineers.
Critical Rules
-
Max 2-4 OR terms per group - LinkedIn has complexity limits
- Bad:
("ai" OR "ml" OR "data science" OR "analytics") - Good:
("ai" OR "data science")
- Bad:
-
Never use short AND long forms of same term
- Bad:
("ml" OR "machine learning")or("ai" OR "artificial intelligence") - Good:
("ai" OR "ml")- different concepts, both short - Always use short forms: "ai", "ml" not "artificial intelligence", "machine learning"
- Bad:
-
Use parentheses for grouping
- Bad:
developer OR engineer AND python OR java - Good:
(developer OR engineer) AND (python OR java)
- Bad:
-
Use quotes for multi-word phrases
- Bad:
product manager - Good:
"product manager"
- Bad:
-
NOT requires AND before it
- Bad:
developer NOT junior - Good:
developer AND NOT junior
- Bad:
-
Exclude incompatible roles for IC searches
- Bad:
"ai engineer"(includes founders/CTOs) - Good:
"ai engineer" NOT founder NOT ceo
- Bad:
Query Examples by Role
Engineers:
("senior software engineer" OR "staff engineer") AND ("distributed systems" OR microservices)
Data Professionals:
("data analyst" OR "data scientist") AND sql AND python
AI/ML Engineers (ICs only):
("ai engineer" OR "ml engineer") AND (pytorch OR tensorflow) NOT founder
AI/ML Founders:
("founder" OR "co-founder") AND ("ai" OR "data science") AND japan
Best Practices
- Use short forms: "ai", "ml" not "artificial intelligence", "machine learning"
- Keep compact: 2-4 OR terms per group maximum
- Start simple: Core role + 1-2 skills, then add complexity
- Use quotes: For exact phrases like
"product manager" - Group with parentheses: Any query with multiple operators
- Operator precedence: Parentheses > NOT > AND > OR
Operator Usage
- AND: Required terms (skills, experience)
- OR: Alternatives (role variations, equivalent skills)
- NOT: Exclude unwanted (junior, intern, founder for IC searches)
- Quotes: Exact phrases (job titles, certifications)
- Parentheses: Group related terms