New Features
Support for distinct in federated search
The distinct attribute can now be passed to the federation object in federated search to apply a global, cross-index and cross-remote distinct computation to the results. This works across multiple indexes and remote instances, and supports facet distribution.
Example federated search request with distinct:
- Applying
distinctat both the query level and federation level will return an HTTP 400 error - The distinct field must be a filterable attribute for all participating indexes
- While Meilisearch attempts to compute accurate facet distribution, this cannot be guaranteed in distributed contexts since the distinct algorithm is not applied to all remote documents
Task queue compaction endpoint
AddedPOST /tasks/compact to compact the task queue database and reclaim space for new tasks without deleting existing tasks. This feature is behind the taskQueueCompactionRoute experimental feature flag.
Note: Once task queue compaction completes, all write operations are blocked until the server is restarted.