Use the UI to Create Custom Rules
For My Custom Rules to show in the UI, you must first create a custom_rule_type via the Query Rewrite API.
|
-
Navigate to Relevance > Query Rewriting.
-
Under Business Rules, click View.
-
Click the
icon.
The New Rule window appears.
-
Enter the general parameters and conditions for this custom rule.
-
Under Action, select My Custom Rule.
-
Select the query pipeline to use when this rule is triggered.
-
Enter a name for this custom rule type.
-
Optionally, you can click Add under Return Parameter Policy Override to override the value of a parameter returned from the specified pipeline:
-
Enter the name of the parameter.
-
Enter the desired value.
-
Select one of the following policies:
-
Replace the returned value with the specified value.
-
Append the specified value to the returned value.
-
Remove the specified parameter from the set of returned parameters.
-
Default
-
-
Enter a value for From Custom Rule.
-