Custom Filtering and Boosting Rules
With Filters and Boosters, you can highlight specific categories, brands, editor-picked content, local deals, and more, helping you deliver varied recommendation boxes and targeted email campaigns.

While our predefined rules cover a wide range of scenarios, you might find a unique requirement that calls for a custom filtering or boosting rule. No problem, Recombee’s ReQL language is built to handle those situations with ease.
ReQL
ReQL is a powerful query language specifically designed for expressing Filters and Boosters based on the attributes of both items (content or products) and users. Its flexibility allows you to craft intricate rules tailored to your needs.

ReQL is feature-rich, boasting functions for geo-filtering, processing user interactions, and more. Comprehensive documentation on ReQL is available to help you harness its full potential.
Within the Admin UI, you’ll find a user-friendly ReQL editor and validator that allows you to preview the outcomes of your Filters and Boosters.
Example Queries
Consider this straightforward filter:
"thriller" in 'genres'
This filter ensures that only thriller movies are recommended.
The following example uses user-specific content suitability:
if context_user["is_kid_profile"] then
'is_kids_friendly'
else
true
This filter makes sure only kid-friendly content gets recommended to users flagged as minors.
AI Assistant
Our AI Assistant is on hand to support you in crafting these queries.
The AI Assistant can turn natural language requests into working ReQL code.
For example, if you type: “Allow only premium content from the user’s country,” the AI Assistant will generate the following ReQL filter:
'premium' and context_user["country"] == 'country'
It can also break down existing rules in plain terms, so you can understand and tweak them when needed.
Applying the Rules
Once you create a rule, it is seamlessly added to your Filters and Boosters library, making it easy to apply to any Scenario.
That way, once your rules are in place, you can adjust parameters like how recent the content is or how close it is to the user, without requiring technical expertise.