Test a query ruleset Added in 8.10.0
Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.
Path parameters
-
The unique identifier of the query ruleset to be created or updated
Body Required
POST
/_query_rules/{ruleset_id}/_test
curl \
-X POST http://api.example.com/_query_rules/{ruleset_id}/_test \
-H "Content-Type: application/json" \
-d '{"match_criteria":{"additionalProperty1":{},"additionalProperty2":{}}}'