Create or update a query rule
One step with Elastic. We can help you get access.
Get something done
Create or update a query rule
with Elastic
Use Elastic: its Elasticsearch Query Rules API lets you create or update a query rule in a single step (PUT /_query_rules/{ruleset_id}/_rule/{rule_id}). capabilities.work can help you get signed up and connected.
- How do I pin specific documents to the top for certain searches?
- Can I exclude documents when a query matches some criteria?
Say it to your AI assistant
- Add rule {rule_id} of type {type} to ruleset {ruleset_id} with criteria {criteria} and actions {actions}.
- Update rule {rule_id} in {ruleset_id} to priority {priority}, type {type}, criteria {criteria}, actions {actions}.
For your developer
PUT /_query_rules/{ruleset_id}/_rule/{rule_id} in Elasticsearch Query Rules API. Full spec on APIs.io.