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.

Synonym

The Synonym Detection feature generates pairs of synonyms and pairs of similar queries. Two words are considered potential synonyms when they are used in a similar context in similar queries. A query that contains a matching term is expanded to include all of its synonyms, with the original term boosted by a factor of two. For more information, see Synonym detection.

General information

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