algolia / algoliasearch-client-java

⚡️ A fully-featured and blazing-fast Java API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/java/
MIT License
46 stars 33 forks source link

Add a `filters` field in the query rules condition #734

Closed chloelbn closed 3 years ago

chloelbn commented 3 years ago

The engine will expose a new field called filters in the condition of the query rules. This will enable customers to trigger rules based on the facet and filter that are applied to the query.

Example:

{
  “condition”: {
      “filters”: “type:house AND amenity:fireplace AND amenity:place”
  },
  …
}