Product

Fusion 5.8

Response Rewriting

Table of Contents

Response rewriting is a strategy for improving relevancy using AI-generated data by modifying Solr’s response before passing it to the search application. There are two approaches to configuring response rewriting:

Rules

Any rule type can add content to the response by modifying the responseValues field. These two rule types can replace the whole response:

  • Banner

    Display a user-defined banner message when the rule fires.

  • Redirect

    Send users to a different URL instead of the search results.

See the main Rules topic for details.

Query pipeline stages

Query pipeline stages that perform response rewriting must appear after the Solr Query stage. These stages fall into two categories: