Similar Queries (simq) Query Rewrite API ConfigurationsManaged Fusion 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.
simq
The similar queries table
If query
leads to clicks on documents 1, 2, 3, and 4, and similar_query
leads to clicks on documents 2, 3, 4, and 5, then there is sufficient overlap between the two queries to consider them similar.
A statistic is constructed to compute similarities based on overlap counts and query counts. The resulting table consists of documents whose doc_type
value is "query_rewrite" and type
value is "simq".
For more information, see The similar queries table.
General information
-
Endpoint:
https://EXAMPLE_COMPANY.b.lucidworks.cloud/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 |
|
id |
|
source |
|
sourceType |
|
createdOn |
|
updatedOn |
|
reviewer |
|
reviewedOn |
|
review |
|
deployed |
|
tags |
|
query |
|
similar_query |
|
query_count |
|
similar_query_count |
|
similarity |
|
type Required |
|
doc_type |
|
additionalProperties |
|
additionalProperties |
|