Recommend Items for User Stage

The Recommend Items for User query pipeline stage uses signals about item choices to recommend other similar items for a specific user. Personalization for the user can be based on the user’s search history, browsing history, or purchase history, and so on.

This pipeline stage uses items-for-user recommendations that have been precomputed by an ALS Recommender job.

See also Items-for-user Recommendations to learn how to configure this recommender type and fetch recommendations.


Enable recommendations:

Before creating a Recommend Items for Item stage, enable recommendations.

  • In the Fusion UI – With Query Workbench open, click Settings > Enable Recommendations.

  • Using the REST API – Use this command to enable recommendations:
    `curl -u admin:<password> -X PUT http://<hostname>:<port>/api/v1/collections/<collection-name>/features/recommendations -H 'content-type: application/json' -d '{"enabled":true}'

When you enable recommendations, Fusion creates a query pipeline that already contains this stage, and that is configured for boosting. The query pipeline is <collection>_items_for_user_recommendations.


When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.