> ## 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/lucidworks-search/07-improve-your-queries/recommendations/items-for-query

[mintlify link]: https://doc.lucidworks.com/docs/lucidworks-search/07-improve-your-queries/recommendations/items-for-query.md

[old doc.lw link]: https://doc.lucidworks.com/managed-fusion/5.9/g8cwr6.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/lucidworks-search/07-improve-your-queries/recommendations/methods-recs.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/lucidworks-search/09-developer-documentation/config-specs/jobs/query-to-query-session-similarity.md) job.

## Query pipeline configuration

The [Boost with Signals](https://doc.lucidworks.com/docs/lucidworks-search/09-developer-documentation/config-specs/query-pipeline-stages/boost-with-signals.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.