WIP better generated API reference docs
This commit is contained in:
9
docs/reference/api/QueryRulesQueryRule.md
Normal file
9
docs/reference/api/QueryRulesQueryRule.md
Normal file
@ -0,0 +1,9 @@
|
||||
## 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. |
|
||||
Reference in New Issue
Block a user