发布日期: 2026-05-26
版本号: v1.45.0

Meilisearch v1.45.0 版本主要提升了索引性能,特别是在更改设置时,并优化了文档获取效率。新功能包括:通过混合添加与删除过滤器进行批量删除的优化,以及引入新的设置索引器以支持更多设置参数(如显示字段、同义词、主键等)的快速变更,同时修复了文档获取阻塞工作线程及更改二进制量化时数据库损坏的错误,此外还改进了Windows平台测试的稳定性。

更新内容 (中文)

Meilisearch v1.45.0 主要提升了更改设置时的索引性能,同时也优化了文档获取性能。

✨ 增强功能

  • 通过带新增的过滤器自动批量删除 by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6389 虽然 Meilisearch 在用户添加文档并混合过滤器删除时会尝试提高索引速度,但交替执行这两种操作仍是一种反模式。建议尽可能通过 ID 删除文档,因为引擎针对合并操作进行了优化,能显著加快索引速度。
  • 提升设置索引性能与可见性 我们在新设置索引器中引入了对更多设置的支持。如果发现任何错误,请在 GitHub 上报告。您可以通过设置以下环境变量禁用新的设置索引器:MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGS=true,或使用等效的专用 CLI 参数。
    • 支持非提取参数 by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6393 现在可直接通过新的设置索引器处理以下设置的更改:显示字段、同义词、主键、允许拼写错误、最小单词长度(一个和两个拼写错误)、每个分面最大值、分面值排序方式、分页最大总命中数、搜索截止时间、聊天以及外部键。
    • 支持全局分面搜索 by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6390 当设置更改分面搜索根布尔参数时,Meilisearch 可使用新的设置索引器。

🪲 错误修复

🔩 其他事项

完整更新日志:https://github.com/meilisearch/meilisearch/compare/v1.44.0…v1.45.0

更新内容 (原始)

Meilisearch v1.45.0 mainly improves indexing performance when changing settings and also improves document fetch performance.

✨ Enhancement

  • Autobatch deletions by filter with additions by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6389 While Meilisearch tries to improve indexing speed when users add documents and mix those additions with deletions via a filter, it is still an anti-pattern to interleave both. It is recommended to delete documents by ID whenever possible, as the engine is optimized to merge them, thereby drastically speeding up indexation.
  • Improve settings indexing performance & visibility We are introducing support for more settings in the nez settings indexer. If you find any bugs, please report them on GitHub. You can disable the new settings indexer by setting the environment variable like this: MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGS=true or use the equivalent dedicated CLI parameter.
    • Support non-extracting parameters by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6393 Changing one of the following settings is now directly handled by the new settings indexer: displayed fields, synonyms, the primary key, authorize typos, min word len one and two typos, max values per facet, sort facet values by, pagination max total hits, search cut off, chat, and foreign keys.
    • Support the global facet search by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6390 Meilisearch can use the new settings indexer when the settings change the facet search root boolean parameter.

🪲 Bug Fixes

  • Fetching documents no longer blocks the actix worker @dureuill in https://github.com/meilisearch/meilisearch/pull/6402
  • Fix an internal error when changing the binary quantization by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6396 We fixed an issue where users were changing the binary-quantized boolean in embedder configurations. The change corrupted the database, making it impossible to change the quantization in the future. Users had to create a binary-quantized embedder from scratch, or they could never change it again.

🔩 Miscellaneous

Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.44.0...v1.45.0

下载链接