发布日期: 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/6349https://github.com/meilisearch/meilisearch/issues/6324 报告此问题 :heart:

🔩 杂项

再次感谢 @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_SETTINGS to true.

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

Thanks again @gounthar, @njaard, @vladradin99 and @snurfer0 for your contributions ❤️

Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.42.1...v1.43.0

下载链接