# How does Knowledge search personalization improve search result relevance for agents and customers?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Knowledge Search, Personalization

Read it on the site: https://www.forcechallenges.com/interview-questions/how-does-knowledge-search-personalization-improve-search-result-relevance-for-agents-and-customers

## Answer

**Basics:** Agents and customers search for articles with a few words. Without tuning, relevant articles can be buried under old or loosely matching ones. Search relevance is about getting the right article into the first few results.

**How it works:**
1. Salesforce indexes article titles, body and searchable fields, and ranks by keyword match, field weighting (title matches count more) and engagement signals.
2. Admins tune it: Synonym groups (Setup > Search Settings/Synonyms), Promoted Search Terms for Knowledge (pin a specific article for a query), and filters via data categories, language and article type.
3. Einstein Search personalizes results for signed-in internal users based on their behavior and context, and offers natural-language search in supported languages.
4. Einstein Article Recommendations suggests articles on a case using case subject and description, and learns from which articles agents attach.

**Advanced / deep dive:** Personalization works for authenticated users; guest users on a public Experience Cloud site get ranking without individual personalization. Knowledge search in a site honors channel visibility and data category visibility, so "missing" results are often permissions. Quality signals matter: article ratings, views and freshness feed relevance, so stale articles should be archived. For custom UIs, use SOSL (FIND ... RETURNING Knowledge__kav) or the Knowledge Connect API, but remember they do not apply Einstein personalization. Einstein features are being rebranded under Agentforce/Einstein Copilot; verify naming and licensing in current release notes.

**Code / config example:**
```sql
FIND {password reset} IN ALL FIELDS
RETURNING Knowledge__kav(Id, Title, UrlName WHERE PublishStatus = 'Online' AND Language = 'en_US')
WITH DATA CATEGORY Products__c ABOVE_OR_BELOW Mobile__c
```

**Hidden gotchas & must-remember points:**
- SOSL/SOQL on articles needs PublishStatus; Language also matters for multilingual orgs.
- Promoted terms promote an article for a phrase; they do not change global ranking.
- Changes to synonyms and new articles are not instantly searchable; indexing lag exists.
- Archived and Draft articles never appear to customers.
- AI recommendations need enough historical case-article attachments to be useful.

**Best practice:** Review top zero-result and low-click searches monthly, then add synonyms, promoted terms or new articles.

---
Source: ForceChallenges · last updated 2026-11-02
