Rules
List of methods
Save rule |
Create or update a rule. |
Batch Rules |
Create or update a specified set of Rules, or all Rules. |
Get Rule |
Get a rule by its |
Delete Rule |
Delete a rule by its |
Clear Rules |
Delete all Rules in an index. |
Search rules |
Search for rules matching various criteria. |
Replace all rules |
Push a new set of rules and erase all previous ones. |
Copy rules |
Copy the rules of an index to another index on the same app. |
Export Rules |
Get a list of all Rules defined on an index. |
We released a new version of the JavaScript API client in public beta. Read the beta documentation for more information.
We released a new version of the PHP API client in public beta. Read the beta documentation for more information.
We released a new version of the Java API client in public beta. Read the beta documentation for more information.
With Rules you can pre- and postprocess queries matching specific patterns.
Miscellaneous
Rules are applied at query time. You can use the Rules search API parameters to control how Rules are applied.
Methods that write Rules are asynchronous: they return a taskID
, which you can use with the waitTask
method.