meilisearch v1.38.0 版本更新介绍
发布日期: 2026-03-09
版本号: v1.38.0
Meilisearch v1.38 版本显著提升了嵌入向量的索引性能,通过消除全数据库扫描使大规模数据库的增量更新更高效;修复了任务队列中孤立任务与批次的清理与删除问题;解决了使用远程嵌入器(如 OpenAI 或 VoyageAI)时偶发的连接中断错误;同时优化了 API 文档的自动生成工具,确保所有路由均被收录,并完善了相关测试与文档内容。
更新内容 (中文)
Meilisearch v1.38 大幅提升了嵌入向量的索引性能,清理了任务队列中的孤立任务与批次,并确保它们能被正确删除;修复了用户在使用 OpenAI 或 VoyageAI 生成嵌入时可能遇到的问题;同时改进了文档中生成路由的工具。
✨ 增强功能
- 嵌入向量:使用最新版本的 hnsw 索引以提升性能,由 @Kerollmops 在 https://github.com/meilisearch/meilisearch/pull/6184 中贡献
我们通过消除全数据库扫描,大幅缩减了嵌入向量的索引时间。现在向大型数据库添加少量嵌入向量变得更为高效。 - 任务:优化并修复任务删除功能,由 @Mubelotix 和 @kerollmops 在 https://github.com/meilisearch/meilisearch/pull/5828 中贡献
🪲 错误修复
- 嵌入模块:修复使用远程嵌入模块在生成文档或搜索查询的嵌入时,间歇性出现的
connection reset by peer错误。由 @dureuill 在 https://github.com/meilisearch/meilisearch/pull/6191 中贡献
🔩 其他杂项
- 强制在参考文档中显示路由,由 @dureuill 和 @manythefish 在 https://github.com/meilisearch/meilisearch/pull/6200 中贡献
参考 API 现在从源代码生成,但过去曾遗漏部分 actix 声明的路由。现在使用新提供的routes::routes和routes::path宏时必须附加路由,以确保该路由被添加到参考文档中。详情请参阅各宏的文档以及代码库中的众多示例。 - 杂项:移除列出文档时的冗余调试日志,由 @StephaneRob 在 https://github.com/meilisearch/meilisearch/pull/6198 中贡献
- 在 CONTRIBUTING.md 中添加本地测试文档的指南,由 @curquiza 在 https://github.com/meilisearch/meilisearch/pull/6180 中贡献
- 文档:在 README 中将 LangChain 和 MCP 首字母大写,由 @24f1000637 在 https://github.com/meilisearch/meilisearch/pull/6183 中贡献
- 文档:改进搜索路由参数的文档,由 @curquiza 在 https://github.com/meilisearch/meilisearch/pull/6194 中贡献
新贡献者
- @StephaneRob 在 https://github.com/meilisearch/meilisearch/pull/6198 中完成首次贡献
- @24f1000637 在 https://github.com/meilisearch/meilisearch/pull/6183 中完成首次贡献
更新内容 (原始)
Meilisearch v1.38 drastically improves indexing performance for embeddings, cleans up the task queue of orphan tasks and batches, ensures they are correctly deleted now, fixes issues users may encounter with OpenAI or VoyageAI when generating embeddings, and improves the tooling for generating routes in the documentation.
✨ Enhancement
- Embeddings: Use the latest version of hannoy with improved performances by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6184 We drastically reduced embedding indexing time by eliminating full database scans. It is more efficient to add a couple of embeddings to a large database now.
- Tasks: Optimize and fix task deletion by @Mubelotix and @kerollmops in https://github.com/meilisearch/meilisearch/pull/5828
🪲 Bug fixes
- Embedders: Fix the intermittent
connection reset by peererrors when embedding documents or search queries using a remote embedder. By @dureuill in https://github.com/meilisearch/meilisearch/pull/6191
🔩 Miscellaneous
- Enforce that routes appear in the reference documentation by @dureuill and @manythefish in https://github.com/meilisearch/meilisearch/pull/6200
The reference API is now generated from the source code, but it used to miss some actix-declared routes. It is now mandatory to attach a route when using the newly-provided
routes::routesandroutes::pathmacros, which ensures the route is added to the reference. Please refer to the documentation of the individual macros and the many examples throughout the codebase for more details. - Chore: remove verbose debug log on list documents by @StephaneRob in https://github.com/meilisearch/meilisearch/pull/6198
- Add guide to CONTRIBUTING.md to test doc locally by @curquiza in https://github.com/meilisearch/meilisearch/pull/6180
- Docs: capitalize LangChain and MCP in README by @24f1000637 in https://github.com/meilisearch/meilisearch/pull/6183
- Docs: improve documentation of the parameters of the search route by @curquiza in https://github.com/meilisearch/meilisearch/pull/6194
New Contributors
- @StephaneRob made their first contribution in https://github.com/meilisearch/meilisearch/pull/6198
- @24f1000637 made their first contribution in https://github.com/meilisearch/meilisearch/pull/6183
下载链接
- meilisearch-enterprise-linux-aarch64
- meilisearch-enterprise-linux-amd64
- meilisearch-enterprise-macos-amd64
- meilisearch-enterprise-macos-apple-silicon
- meilisearch-enterprise-windows-amd64.exe
- meilisearch-linux-aarch64
- meilisearch-linux-amd64
- meilisearch-macos-amd64
- meilisearch-macos-apple-silicon
- meilisearch-openapi.json
- meilisearch-windows-amd64.exe
- meilisearch.deb