This query rewrite configuration 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.

Remove Words

Use a Remove Words query rewrite to remove particular phrases from queries. Unlike other rewrites, Remove Words rules are entered manually and aren’t generated by a job. You can create a Remove Words query rewrite to remove words from a query. This query rewrite is helpful when a word in the search query does not add value to the search results. For example, you can rewrite a search query for case study examples to remove examples and then display results for case study.

General information

  • Endpoint: https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/apps/APP_NAME/query-rewrite/schema/RULE_TYPE
  • Required parameters are:
    • surface_form
    • trigger_phrase_ss
    • 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