发布日期: 2026-08-03
版本号: v1.52.0

Meilisearch 发布了新版本,包含以下更新:新增了用于实时接收任务和批次状态的SSE流式路由,这是一种实验性功能,可以替代轮询机制,减少网络负载;同时优化了搜索性能,在请求大量文档时能显著提升格式化速度。此外修复了联合搜索中出现重复结果的问题,并优化了设置未变更时的处理逻辑。

更新内容 (中文)

✨ 增强功能

  • 由 @Kerollmops 在 https://github.com/meilisearch/meilisearch/pull/6533 中引入了 /tasks/stream/batches/stream SSE 路由。 此实验性功能允许建立与引擎的实时连接,避免实现长轮询,转而让引擎以推送方式提供新任务、批次和批次进度。使用此路由可在获取 Meilisearch 实例状态时显著减少网络负载。
  • 由 @Kerollmops 在 https://github.com/meilisearch/meilisearch/pull/6542 中进一步加速了搜索。 我们通过将文档格式化操作从 O(n)(其中 n 为检索到的文档数量)优化为 O(1) 操作,提升了搜索速度。当请求数量较多(> 20)的文档时,此改进可显著提升搜索速度。

🪲 错误修复

更新内容 (原始)

✨ Enhancement

  • Introduce the /tasks/stream and /batches/stream SSE routes by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6533 This experimental feature allows establishing a live connection to the engine, avoiding the need to implement long polling and instead letting the engine provide new tasks, batches, and batch progress in a push-based manner. Using this route can drastically reduce network load when retrieving the status of a Meilisearch instance.
  • Speed up the search a bit more by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6542 We improve the search speed when it comes to formatting the documents by making an O(n) operation, where n is the number of retrieved documents, become an O(1) operation. This improvement can significantly increase search speed when requesting a large (> 20) number of documents.

🪲 Bug fixes

下载链接