Context
Meilisearch v1.51.0 introduces filter conditions for Dynamic Search Rules (DSR). It also introduces a new lastUpdatedAt field in DSR responses.
Objective
Update the SDK to support:
- The new
filter activation condition in the conditions object of a DSR. The filter condition contains a values key whose value is a JSON object mapping facet names to their expected filter values.
- The new
lastUpdatedAt field returned by GET /dynamic-search-rules/{:ruleUid} and POST /dynamic-search-rules.
Use these resources:
Example of a DSR with a filter condition
Tasks
Context
Meilisearch v1.51.0 introduces filter conditions for Dynamic Search Rules (DSR). It also introduces a new
lastUpdatedAtfield in DSR responses.Objective
Update the SDK to support:
filteractivation condition in theconditionsobject of a DSR. Thefiltercondition contains avalueskey whose value is a JSON object mapping facet names to their expected filter values.lastUpdatedAtfield returned byGET /dynamic-search-rules/{:ruleUid}andPOST /dynamic-search-rules.Use these resources:
— API reference
Example of a DSR with a filter condition
Tasks
conditionsparameter to accept the newfiltercondition typelastUpdatedAtfield (ISO datetime string) to the API response shapefilterconditionlastUpdatedAt