Files
elasticsearch-js/docs/reference/api/QueryRulesQueryRule.md
2025-05-27 15:30:21 -05:00

915 B

Interface QueryRulesQueryRule

Name Type Description
actions QueryRulesQueryRuleActions The actions to take when the rule is matched. The format of this action depends on the rule type.
criteria QueryRulesQueryRuleCriteria QueryRulesQueryRuleCriteria[]
priority integer  
rule_id Id A unique identifier for the rule.
type QueryRulesQueryRuleType 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.