(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-8457997-9', 'auto'); ga('send', 'pageview');

Response Pairwise Swap Stage

This is a response rewriting stage that helps "de-bias" results by swapping the search results at any two positions, such as positions 1 and 2, positions 3 and 4, and so on. This stage must be used after the Solr Query stage in your pipeline.

This stage is especially useful when combined with experiments, where a small percentage of traffic is given swapped results to minimize position bias when using click signals for ranking. The Response Shuffle stage provides an another method for minimizing this bias.

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.