You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/personalization/making_personalized_search_queries.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Performing personalized search queries
3
-
description: Search personalization uses context about the person performing the search to provide results more relevant to that specific user. This tutorial guides you through configuring and performing personalized search queries.
3
+
description: Search personalization uses context about the person performing the search to provide results more relevant to that specific user. This article guides you through configuring and performing personalized search queries.
Search personalization requires a description about the user performing the search. Meilisearch does not currently provide automated generation of user context.
28
28
29
-
You’ll need to **generate a dynamically plain-text user description** for each search request. This should summarize relevant traits, such as:
29
+
You’ll need to **dynamically generate a plain-text user description** for each search request. This should summarize relevant traits, such as:
30
30
31
-
- Category preferences like brand and size
32
-
- Price sensitivity
33
-
- Possible use cases
34
-
- Other information regarding user interests
31
+
- Category preferences, like brand or size
32
+
- Price sensitivity, like budget-conscious
33
+
- Possible use cases, such as fitness and sport
34
+
- Other assorted information, such as general interests or location
35
35
36
36
The re-ranking model is optimized to favor positive signals. For best results, focus on affirmatively stated preferences, behaviors, and affinities, such as "likes the color red" and "prefers cheaper brands" over "dislikes blue" and "is not interested in luxury brands".
37
37
38
38
## Perform a personalized search
39
39
40
40
Once search personalization is active and you have a pipeline in place to generate user profiles, you are ready to perform personalized searches.
41
41
42
-
Submit a search query and include the `personalize` search parameter in your query. `personalize` must be an object with a single field, `userContext`. Use the description in `userContext`:
42
+
Submit a search query and include the `personalize` search parameter. `personalize` must be an object with a single field, `userContext`. Use the description you generated in the previous step as the value for`userContext`:
0 commit comments