Get a dynamic search rule
Retrieve a single dynamic search rule by its unique identifier.
Authorizations
An API key is a token that you provide when making API calls. Read more about how to secure your project.
Include the API key to the Authorization header, for instance:
-H 'Authorization: Bearer 6436fc5237b0d6e0d64253fbaac21d135012ecf1'If you use a SDK, ensure you instantiate the client with the API key, for instance with JS SDK:
const client = new Meilisearch({
host: 'MEILISEARCH_URL',
apiKey: '6436fc5237b0d6e0d64253fbaac21d135012ecf1'
});Path Parameters
Unique identifier of the dynamic search rule.
Response
Dynamic search rule returned.
Unique identifier of the dynamic search rule.
"movies"
Actions to apply when the dynamic search rule matches.
Human-readable description of the dynamic search rule.
Precedence of the dynamic search rule. Lower numeric values take precedence over higher ones. If omitted, the rule is treated as having the lowest precedence. This precedence is used to resolve conflicts between matching rules:
- If the same document is selected by multiple rules, the smallest
prioritynumber wins - If different documents are pinned to the same position, they are ordered by ascending
priority
x >= 0Whether the dynamic search rule is active.
Conditions that must match before the dynamic search rule applies.
- Option 1
- Option 2