Skip to main content

New Features

Remote Availability Status for Query Fallback

The engine now tracks the availability status of remote instances in sharding and replication environments. Each remote is assigned a status (available or unavailable), allowing the engine to automatically avoid unavailable machines and resume querying them once they’re back online. The /network route now exposes remote statuses:

Document Join Filtering (Experimental)

Filter documents based on attributes in related indexes using the new _foreign filter syntax. This extends cross-index document hydration to allow filtering on foreign indexes during retrieval. To use this feature, enable the foreignKeys experimental feature:
Configure foreign keys and filterable attributes in your index settings:
Use the _foreign filter in search queries to filter on foreign index attributes:
This allows you to find documents based on conditions in related indexes. For example, find movies with a specific genre where actors match certain criteria. Note: Nesting foreign filters is not supported. This feature does not support remote sharding environments.

Improvements

Better Error Handling for Chat Template Updates

The engine now explicitly validates and reports document template errors when updating chat settings, providing clearer feedback on template configuration issues. Find more information on GitHub