Generating a user profile
Search personalization requires a profile of the user performing the search. Meilisearch does not yet provide automated generation of user profiles. You’ll need to dynamically generate a user profile for each search request. This should summarize relevant traits, such as:- Category preferences, like brand or size
- Price sensitivity, like budget-conscious
- Possible use cases, such as fitness and sport
- Other assorted information, such as general interests or location
Perform a personalized search
Once search personalization is active and you have a pipeline in place to generate user profiles, you are ready to perform personalized searches. Submit a search query and include thepersonalize search parameter. personalize must be an object with a single field, userContext. Use the profile you generated in the previous step as the value for userContext:
Next steps
Generate user context
Build dynamic user profiles for more relevant personalized results.
Personalize e-commerce search
Apply search personalization to an e-commerce product catalog.
Personalization overview
Learn how search personalization works and when to use it.