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

708 B

Interface QueryRulesTestRequest

Name Type Description
body string ({ [key: string]: any; } & { ruleset_id?: never; match_criteria?: never; })
match_criteria Record<string, any> The match criteria to apply to rules in the given query ruleset. Match criteria should match the keys defined in the criteria.metadata field of the rule.
querystring { [key: string]: any; } & { ruleset_id?: never; match_criteria?: never; } All values in querystring will be added to the request querystring.
ruleset_id Id The unique identifier of the query ruleset to be created or updated