fq
), such as an “on_sale” field whose value is “true”. In that example, your rule could block results whose “on_sale” field value is “false”.MPAA_rating
field matches “G” or “PG”.bq
or boost
parameter to the incoming Solr request and executing a boost query.color="red"
when the incoming query contains “red”.elevate.xml
in the same directory as the solrconfig.xml
file. Use the following as the contents of the file:
elevate.xml
file for the use of built-in rule actions with QEC.solrconfig.xml
file. If a last-components
array is not already defined, create it at the end of the select handler’s configuration. If one is already defined, add <str>elevator</str>
.
Create a new Business Rule
General | Condition | Action |
---|---|---|
In the General column, only the Name field is required. Other fields are optional:
| Conditions are triggers that activate the rule when they match the current date and time, query, or field values. See Rule conditions for more information. | A rule can take different types of actions when the specified conditions are met. See Action types for more information. You can also create custom actions. |
id
field. Ensure id
is entered in the “FIELD NAME” option.rule_ss
. This allows for downstream analysis on rule activity using SQL, App Insights, or a
custom Spark job.