10 lines
936 B
Markdown
10 lines
936 B
Markdown
# `QueryRulesQueryRule` [interface-QueryRulesQueryRule]
|
|
|
|
| Name | Type | Description |
|
|
| - | - | - |
|
|
| `actions` | [QueryRulesQueryRuleActions](./QueryRulesQueryRuleActions.md) | The actions to take when the rule is matched. The format of this action depends on the rule type. |
|
|
| `criteria` | [QueryRulesQueryRuleCriteria](./QueryRulesQueryRuleCriteria.md) | [QueryRulesQueryRuleCriteria](./QueryRulesQueryRuleCriteria.md)[] | The criteria that must be met for the rule to be applied. If multiple criteria are specified for a rule, all criteria must be met for the rule to be applied. |
|
|
| `priority` | [integer](./integer.md) | |
|
|
| `rule_id` | [Id](./Id.md) | A unique identifier for the rule. |
|
|
| `type` | [QueryRulesQueryRuleType](./QueryRulesQueryRuleType.md) | The type of rule. `pinned` will identify and pin specific documents to the top of search results. `exclude` will exclude specific documents from search results. |
|