New Features
Dynamic Search Rules with pinning
Introduce the Dynamic Search Rules (DSR) experimental feature, making it easy to promote the right content for the right searches with flexible, condition-based pinning. In this first version, rules can be triggered by query-based conditions such as empty queries or literal substring matches, as well as time windows. Multiple documents can be pinned in a defined order, and pins still work with filtering, pagination, facet distribution, hybrid search, and federated search. Rules can be created or updated withPATCH /dynamic-search-rules/{uid} and removed with DELETE /dynamic-search-rules/{uid}. In this first version, a rule can define query- or time-based conditions and pin specific documents at fixed positions in the results list.
Example of rule creation/update:
Improvements
Network enabled by default in sharded instances
Whennetwork.leader is set in the instance, useNetwork now defaults to true in search requests when omitted. This allows you to naturally query all documents in a sharded context without explicitly requesting network searches.
Search requests now automatically use the network when replicated sharding is enabled, ensuring all shards are covered exactly once. When network.leader is not present (particularly when no network is defined), the behavior remains identical to previous versions.