Remove Words Query Rewrite API ConfigurationsFusion Query Rewrite APIs
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://FUSION_HOST:FUSION_PORT/api/apps/APP_NAME/query-rewrite/schema/RULE_TYPE
- 
Required parameters are: - 
surface_form 
- 
trigger_phrase_ss 
- 
type 
 
- 
- 
The values for the hintsparameter 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.
 
- 
| Parameter | Schems | 
|---|---|
| type | |
| type | string | 
| properties | |
| id |  | 
| source |  | 
| sourceType |  | 
| createdOn |  | 
| updatedOn |  | 
| reviewer |  | 
| reviewedOn |  | 
| review |  | 
| deployed |  | 
| tags |  | 
| surface_form Required |  | 
| confidence |  | 
| removeid_s |  | 
| triggerdoc_b |  | 
| trigger_phrase_ss Required |  | 
| type Required |  | 
| doc_type |  | 
| additionalProperties | |
| additionalProperties |  |