Spell Query Rewrite API ConfigurationsFusion Query Rewrite API
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.
Spell
The Misspelling Detection feature maps misspellings to their corrected spellings. When Fusion receives a query containing a known misspelling, it rewrites the query using the corrected spelling in order to return relevant results instead of an empty or irrelevant results set.
Spelling corrections are applied in the Text Tagger stage of the query pipeline.
General information
-
Endpoint:
https://FUSION_HOST:FUSION_PORT/api/apps/APP_NAME/query-rewrite/schema/RULE_TYPE
-
Required parameter is: 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.
-
Parameter | Schema |
---|---|
type |
|
type |
string |
properties |
|
confidence |
|
id |
|
source |
|
sourceType |
|
createdOn |
|
updatedOn |
|
reviewer |
|
reviewedOn |
|
review |
|
deployed |
|
tags |
|
surface_form |
|
output |
|
action |
|
type Required |
|
doc_type |
|
additionalProperties |
|
additionalProperties |
|