Skip to content

Commit ddcce77

Browse files
Add Search Personalization in Learn section (#3353)
--------- Co-authored-by: gui machiavelli <[email protected]>
1 parent f1562b2 commit ddcce77

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

docs.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@
182182
"learn/chat/conversational_search"
183183
]
184184
},
185+
{
186+
"group": "Personalization",
187+
"pages": [
188+
"learn/personalization/search_personalization"
189+
]
190+
},
185191
{
186192
"group": "Self-hosted",
187193
"pages": [
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: What is search personalization?
3+
description: Search personalization lets you boost search results based on user profiles, making results tailored to their behavior.
4+
---
5+
6+
Search personalization uses AI technology to re-rank search results at query time based on the user context you provide.
7+
8+
## Why use search personalization?
9+
10+
Not everyone search the same way. Personalizing search results allows you to adapt relevance to each user’s preferences, behavior, or intent.
11+
12+
For example, in an e-commerce site, someone who often shops for sportswear might see sneakers and activewear ranked higher when searching for “shoes”. A user interested in luxury fashion might see designer heels or leather boots first instead.
13+
14+
## How does search personalization work?
15+
16+
1. First generate a plain-text description of the user: `"The user prefers genres like Documentary, Music, Drama"`
17+
2. When the user performs a search, you submit their description together their search request
18+
3. Meilisearch retrieves documents based on the user's query as usual
19+
4. Finally, the re-ranking model reorders results based on the user context you provided in the first step
20+
21+
## How can I enable search personalization in Meilisearch?
22+
23+
Search personalization is still in early development and not publicly available.
24+
25+
If you are a Cloud customer and would like to try it out, [get in touch](https://meetings-eu1.hubspot.com/guillaume-mourier/search-personalization)!
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<CodeGroup>
2+
3+
```dart Dart
4+
await client
5+
.index('INDEX_NAME')
6+
.search('badman', SearchQuery(rankingScoreThreshold: 0.2));
7+
```
8+
</CodeGroup>

0 commit comments

Comments
 (0)