Skip to main content

Recommender Filtering

08/09/2025

This page explains how to use the Recommender API's filtering feature to narrow down recommendation results based on specific document properties. To filter results, you add a filter field to the standard /recommend endpoint request body. This field accepts a JSON object that acts as the body of an Elasticsearch Boolean query.