Skip to content

Conversation

@benjaminjackson
Copy link

Summary

Fixes LinkedIn search to return profile and company pages instead of post URLs, with optimized search types for better accuracy.

Changes

Domain Filtering

  • Profile searches filter to linkedin.com/in only
  • Company searches filter to linkedin.com/company only
  • General searches use broader linkedin.com domain
  • Simplified query handling by removing redundant "LinkedIn profile/company" text additions

Search Type Optimization

  • Use keyword search for profile and company searches (more precise content matching on names and company names)
  • Use neural search for general LinkedIn searches (better semantic understanding for broader queries)

Impact

Prevents returning LinkedIn post URLs (linkedin.com/posts/*) when searching for user or company profiles, while maintaining semantic search quality for general LinkedIn content.

benjaminjackson and others added 2 commits October 16, 2025 16:44
- Change search type to use more precise domain filtering
- Switch from 'neural' to 'keyword' search type
- Dynamically set includeDomains based on search type
- Remove redundant search query modifications

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
… neural for general

- Use keyword search type for profile and company searches (more precise name matching)
- Use neural search type for general LinkedIn searches (better semantic understanding)
- Add dynamic searchTypeValue based on search type

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant