This rule type is used in the Query Rewrite API. For a complete list of rule and rewrite types in the Query Rewrite API, see Query Rewrite API Configurations. For more information, view the API specification.

Redirect

The Redirect action displays a message at the top of the search results that the frontend can utilize to redirect a user to a specific URL. This action guides users to the desired URL when the search query isn’t included in the collection. For example, a workplace may create a redirect action that displays a link to the internal help desk when an employee searches for “computer broken”.

General information

  • Endpoint: https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/apps/APP_NAME/query-rewrite/schema/RULE_TYPE
  • Required parameters are:
    • name
    • redirect_url
    • type
  • The values for the hints parameter include:
    • hidden: Do not display in the Fusion UI, but can be read and written in the schema.
    • readonly: Cannot be set by the user. If attempted, an error is generated and the operation fails.

Parameters and schemas