meilisearch v1.43.0 版本更新介绍
发布日期: 2026-05-04
版本号: v1.43.0
Meilisearch v1.43.0版本带来了多项增强与修复。新版本引入了更高效的设置索引器,支持可过滤、可排序、分面搜索及自定义排序等特性,并对分面搜索的索引性能进行了优化。同时,任务队列压缩功能得到改进,健康检查接口在压缩后返回500状态码以提示需重启服务。在修复方面,解决了字符串分面值在比较过滤器中未进行标准化导致的错误排序问题,并修复了v1.41版本中拼写容错功能的回归缺陷。此外,版本还新增了导出索引词FST的工具命令,增加了riscv64平台的发布支持,并更新了多项依赖组件。
更新内容 (中文)
🌈 增强功能
新设置索引器
新的设置索引器是索引设置修改的内部索引器的更高效版本,现支持可过滤、可排序、分面搜索和自定义(升序/降序)属性,以及已支持的可搜索、精确、邻近精度和嵌入器。
- 对于 Meilisearch Cloud 用户,新设置索引器默认禁用,可针对扩展需求逐案启用。
- 对于 OSS 用户,可通过将
MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGS设置为true来禁用新设置索引器。
由 @Kerollmops 提交于 https://github.com/meilisearch/meilisearch/pull/6124
改进分面搜索索引性能
我们减少了生成分面搜索所需内部数据结构的时间。此前我们对内部条目进行了多次全扫描,现替换为仅针对分面可搜索字段的特定条目扫描。
由 @Kerollmops 提交于 https://github.com/meilisearch/meilisearch/pull/6325
改进任务队列压缩集成
GET /health 路由在任务队列压缩成功后现在返回 HTTP 500,以指示应重启 Meilisearch 从而使任务能够再次入队。
对于 Meilisearch Cloud 用户,这确保压缩任务队列后将自动重启实例。
🦋 修复
修复字符串词典排序过滤器
修复了一个错误:出现在 <、<=、>、>= 和 IN 过滤器中的字符串分面值在比较前未进行规范化。
这导致文档中的某些值(如 2026-01-01T00:00:00)由于被规范化(如变为 2026-01-01t00:00:00)而显得高于过滤器中的对应值。
感谢 @njaard 报告此问题 ❤️
由 @dureuill 提交于 https://github.com/meilisearch/meilisearch/pull/6340
修复拼写容错 v1.41 回归问题
修复了 WordDelta::added_or_deleted_words 函数。
由 @Kerollmops 提交于 https://github.com/meilisearch/meilisearch/pull/6350。
感谢 @vladradin99 和 @snurfer0 在 https://github.com/meilisearch/meilisearch/issues/6349 和 https://github.com/meilisearch/meilisearch/issues/6324 报告此问题 :heart:
🔩 杂项
- 引入 meilitool 命令以导出索引词 FST,由 @Kerollmops 提交于 https://github.com/meilisearch/meilisearch/pull/6332
- 通过 cross-rs 添加 riscv64 到发布二进制矩阵,由 @gounthar 提交于 https://github.com/meilisearch/meilisearch/pull/6296
- 修复与任务取消和删除相关的文档,由 @curquiza 提交于 https://github.com/meilisearch/meilisearch/pull/6353
- 将 actions/checkout 从 5 升级到 6,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6303
- 将 actions/setup-node 从 4 升级到 6,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/5964
- 将 thin-vec 从 0.2.14 升级到 0.2.16,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6339
- 将 docker/setup-buildx-action 从 3 升级到 4,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6304
- 将 rustls-webpki 从 0.103.10 升级到 0.103.13,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6347
- 将 actix-http 从 3.11.2 升级到 3.12.1,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6348
- 将 sigstore/cosign-installer 从 3.10.0 升级到 4.1.1,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6301
- 将 supercharge/mongodb-github-action 从 1.12.0 升级到 1.12.1,由 @dependabot[bot] 提交于 https://github.com/meilisearch/meilisearch/pull/6302
再次感谢 @gounthar、@njaard、@vladradin99 和 @snurfer0 的贡献 ❤️
完整变更日志:https://github.com/meilisearch/meilisearch/compare/v1.42.1…v1.43.0
更新内容 (原始)
🌈 Enhancements
New settings indexer
The new settings indexer, a more efficient version of our internal indexer for index settings modifications, now supports filterable, sortable, facet search, and custom (asc/desc) attributes in addition to the already-supported searchable, exact, proximity precision, and embedders.
- For Meilisearch Cloud users, the new settings indexer is disabled by default and can be enabled on a case-by-case basis for scaling purposes.
- For OSS users, the new settings indexer can be disabled by setting the
MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGStotrue.
By @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6124
Improve facet search indexing performance
We reduced the time to generate the internal data structures for the facet search to work. We were previously doing a couple of full scans on the internal entries and replaced these with scans on specific entries, only the ones dedicated to the facet searchable fields.
By @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6325
Improve task queue compaction integration
The GET /health route now returns HTTP 500 after a successful task queue compaction, to signal that Meilisearch should be restarted so that tasks can be enqueued again.
For Meilisearch Cloud users, this ensures that compacting the task queue will automatically restart the instance after the compaction.
🦋 Fixes
Fix lexicographic filters on strings
Fixes a bug where string facet values appearing in <, <=, >, >= and IN filters were not normalized before comparison to facet values.
This would cause some values in documents (e.g. 2026-01-01T00:00:00) to appear to be higher than their filter counterpart, due to being normalized (e.g. like 2026-01-01t00:00:00).
Thanks to @njaard for reporting the issue ❤️
By @dureuill in https://github.com/meilisearch/meilisearch/pull/6340
Fix typo tolerance v1.41 regression
Fixes the WordDelta::added_or_deleted_words function.
By @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6350.
Thanks to @vladradin99 and @snurfer0 for reporting the issue in https://github.com/meilisearch/meilisearch/issues/6349 and https://github.com/meilisearch/meilisearch/issues/6324 :heart:
🔩 Miscellaneous
- Introduce a meilitool command to export an index words FST by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6332
- Add riscv64 to release binary matrix via cross-rs by @gounthar in https://github.com/meilisearch/meilisearch/pull/6296
- Fix docs related to task cancelation and deletion by @curquiza in https://github.com/meilisearch/meilisearch/pull/6353
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6303
- Bump actions/setup-node from 4 to 6 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/5964
- Bump thin-vec from 0.2.14 to 0.2.16 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6339
- Bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6304
- Bump rustls-webpki from 0.103.10 to 0.103.13 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6347
- Bump actix-http from 3.11.2 to 3.12.1 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6348
- Bump sigstore/cosign-installer from 3.10.0 to 4.1.1 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6301
- Bump supercharge/mongodb-github-action from 1.12.0 to 1.12.1 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6302
Thanks again @gounthar, @njaard, @vladradin99 and @snurfer0 for your contributions ❤️
Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.42.1...v1.43.0
下载链接
- meilisearch-enterprise-linux-aarch64
- meilisearch-enterprise-linux-amd64
- meilisearch-enterprise-linux-riscv64
- meilisearch-enterprise-macos-amd64
- meilisearch-enterprise-macos-apple-silicon
- meilisearch-enterprise-windows-amd64.exe
- meilisearch-linux-aarch64
- meilisearch-linux-amd64
- meilisearch-linux-riscv64
- meilisearch-macos-amd64
- meilisearch-macos-apple-silicon
- meilisearch-openapi.json
- meilisearch-windows-amd64.exe
- meilisearch.deb