> ## 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.

# Response Shuffle Stage

[localhost link]: http://localhost:3000/docs/4/fusion-server/reference/pipeline-stages/query/response-shuffle-query-stage

[mintlify link]: https://doc.lucidworks.com/docs/4/fusion-server/reference/pipeline-stages/query/response-shuffle-query-stage.md

[old doc.lw link]: https://doc.lucidworks.com/fusion-server/4.2/275.md

This is a [response rewriting](https://doc.lucidworks.com/docs/4/fusion-ai/concepts/response-rewriting.md) stage that helps "de-bias" results by shuffling the top N results randomly. Since most users click on result #1 before #2, this stage is helpful for distributing clicks more evenly among the top N results. This stage must be used *after* the [Solr Query stage](https://doc.lucidworks.com/docs/4/fusion-server/reference/pipeline-stages/query/solr-query-stage.md) in your pipeline.

This stage is especially useful when combined with [experiments](https://doc.lucidworks.com/docs/4/fusion-ai/concepts/experiments/overview.md), where a small percentage of traffic is given shuffled results to minimize position bias when using click signals for ranking. The [Response Pairwise Swap stage](https://doc.lucidworks.com/docs/4/fusion-ai/reference/query-pipeline-stages/response-pairwise-swap-query-stage.md) provides an another method for minimizing this bias.

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

## Configuration

> [!TIP]
>
> 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.


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