Required | Parameter | Description | Example |
---|---|---|---|
✅ | Banner URL | The URL of the desired banner image. | https://example-site.com/assets/promotion.png |
Banner zone | An arbitrary value used by the frontend, generally to instruct the search application where to place the banner image. | TOP |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Boost param | ● bq . An additive boost that is added to the main query’s score.● boost . A multiplicative boost based on document scores. This boost increases or decreases the score by a relative amount. | boost |
✅ | Boost query | The query that the boost will apply to. | bq : category_s:"Small Business"^5 boost : category_s:"Small Business" |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
fq
) to the query and changes the results so a pre-selected set of content displays.
For example, an e-commerce website may display only movies rated G or PG when a user searches for children’s movies.
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
✅ | Grouping field | The name of the group field that the rule action applies to. This group field must have a group-field parameter or the rule does not apply. | color_group_name |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
✅ | Grouping field | The name of the group field that the rule action applies to. This group field must have a group-field parameter or the rule does not apply. | color_group_name |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | title |
✅ | Field values | The values of the field that the rule action applies to. The field determines what field values are available. | Voyager Jacket |
✅ | Grouping field | The name of the group field that the rule action applies to. This group field must have a group-field parameter or the rule does not apply. | color_group_name |
✅ | Pin within a specific group value | The values of the grouping field that the rule action applies to. The field determines what field values are available. Only a single group value is supported. | red |
✅ | Pinned documents | The individual documents that the rule action applies to. | Summit Pants (red) |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the rule action applies to. The documents in the datasource determine what fields are available. | id |
✅ | Pinned documents | Individual documents to pin. Specify the following: ● Value. The values of the field that the rule action applies to. The field determines what field values are available. ● Position. Position within the results where the document is pinned, with 1 being the 1st result. Each position is available to only a single document. | Value: 1000026 Position: 4 |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Redirect | The URL that the user will redirect to. | https://www.activate-conf.com/ |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Field name | The name of the field that the response value is found under. | ad-code |
✅ | Field value | The response value that is included in the results response. | AD_CODE_99 |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Position | Position of the facet field in the list of facets, with 1 being the top of the list. Each position is available to only a single facet. | 3 |
✅ | Facet field | The name of the facet field. | Color |
✅ | Facet type | The type of facet: | field |
field
facet types
Parameter | Description | Example |
---|---|---|
Select type | Determines whether the user can select a single facet or multiple facets. | multi |
Facet sort | Sort order of the individual facets within the facet field: | count |
Min count | Sets a minimum requirement for the number of documents in the facet to display. | 10 |
Boost values | Boost individual facets in the order added, overriding the default Facet sort. For example, boost tshirt and shorts over hoodie during summer. | tshirt |
Bury values | Bury individual facets with the facet field in the order added. | hoodie |
Suppress values | Prevent individual facets from appearing within the facet field. | coat |
range
facet types
Parameter | Description | Example |
---|---|---|
Select type | Determines whether the user can select a single facet or multiple facets. | multi |
Facet sort | Sort order of the individual facets within the facet field: | count |
Min count | Sets a minimum requirement for the number of documents in the facet to display. | 10 |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Parameter name | The name of the query parameter. | fl |
✅ | Parameter value | The value of the query parameter. | discountAmount |
✅ | Update policy | The manner in which the parameter affects the results response: ● append . Add the parameter to the default parameters in the results response.● default . Add the parameter to the default parameters in the results response if it is not already included in the request or the default specification in the Solr config file solrconfig.xml.● remove . Remove the parameter from the results response.● replace . Replace the default parameter in the results response. | append |
Required | Parameter | Description | Example |
---|---|---|---|
✅ | Blob Type | An arbitrary value used by the frontend, generally to indicate what kind of data the JSON blob contains. | default |
✅ | JSON Blob | An arbitrary JSON value used by the frontend. When the rule is triggered, the JSON is sent with the results response. This behaves similarly to the Banner rule, given that it returns the JSON object outside of the search results. | {"parameter1":"value", "parameter2":["value_a", "value_b"]} |
id
field. If QEC is enabled but is not configured correctly in Solr, the rule does not fire.Use the Query Elevation Component
elevate.xml
file for the use of built-in rule actions with QEC due to a known issue in Solr.elevate.xml
in the same directory as the solrconfig.xml
file.
elevate.xml
file:
solrconfig.xml
file, add the following in the elevator search Component (searchComponent name="elevator"
). Before adding, check to see if the searchComponent
already exists within the file.
elevator
as a ‘last component’ part of the select handler in the 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>
.
id
field. Ensure id
is entered in the “FIELD NAME” option.Action | Response value | Query Elevation Component |
---|---|---|
Banner | ✘ | ✘ |
Block List | ✅ | ✘ |
Boost Attributes | ✅ | ✘ |
Boost List | ✅ | ✅ |
Bury List | ✅ | ✘ |
Filter List | ✅ | ✅ |
Ingroup Boost List | ✅ | ✘ |
Ingroup Bury List | ✅ | ✘ |
Ingroup Pinned | ✅ | ✘ |
Pinned | ✅ | ✅ |
Redirect | ✘ | ✘ |
Response Value | ✅ | ✘ |
Set Facets | ✅ | ✘ |
Set Params | ✅ | ✘ |