> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Items-For-Query Recommendations

[localhost link]: http://localhost:3000/docs/5/fusion/getting-data-out/query-enhancement/recommendations/items-for-query

[mintlify link]: https://doc.lucidworks.com/docs/5/fusion/getting-data-out/query-enhancement/recommendations/items-for-query.md

[old doc.lw link]: https://doc.lucidworks.com/fusion/5.9/481.md

The Items for Query recommender is the primary algorithm that supports recommendations on the search results page.

Items-for-query recommendations are based on how other users interacted with search results from the same query. This is one type of [collaborative recommendation](https://doc.lucidworks.com/docs/5/fusion/getting-data-out/query-enhancement/recommendations/recommendation-methods.md#content-based-vs-collaborative-recommendations).

For example, if users have searched for "titanic" in the past and many of them clicked on the search result for the DVD of the movie *Titanic* (as opposed to books or memorabilia), then this method boosts the DVD item on subsequent searches for "titanic".

Below is an example of items-for-query recommendations based on a search for "madonna":

![Items-for-query examples](https://mintcdn.com/lucidworks/1R8QVvJzt46cZDT6/assets/images/4.2/recommendations-items-for-query.png?fit=max\&auto=format\&n=1R8QVvJzt46cZDT6\&q=85\&s=a2e7ee7bb0b401da69cef14926c5ab45)

To use this type of boosting, signals must be enabled but recommendations need not be.

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

## Job configuration

The items-for-query recommendations are implemented as a [Query-to-Query Session-Based Similarity](https://doc.lucidworks.com/docs/5/fusion/reference/config-ref/jobs/query-to-query-session-based-similarity.md) job.

## Query pipeline configuration

The [Boost with Signals](https://doc.lucidworks.com/docs/5/fusion/reference/config-ref/pipeline-stages/query-stages/recommendation-boosting-query-stage.md) query stage is part of the default query pipeline, so usually you do not need to add it. It takes its input from the aggregated signals collection (`COLLECTION_NAME_signals_aggr`) at query time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.