meilisearch v1.47.0 版本更新介绍
发布日期: 2026-06-15
版本号: v1.47.0
Meilisearch v1.47.0版本带来了多项增强、修复和改进。在功能增强方面,现在支持在联邦搜索中使用搜索个性化功能,新的设置索引器功能已完善,能更好地处理分词器相关设置,在更改语言环境、字典、同义词等设置时提供更好的性能、更快的取消操作和更精确的进度查看。同时,系统暴露了更多的Prometheus指标以提升可观测性。修复了若干问题,包括修复了在特定排序规则顺序下可能丢失搜索结果、某些条件下忽略搜索超时设置,以及远程联邦搜索中带单引号过滤条件代理失败的问题。其他变更包括搜索管道实现重构以统一代码,以及移除了不再使用的设置项等。
更新内容 (中文)
🌈 功能增强
联邦搜索的个性化搜索支持
我们现在支持在联邦搜索请求中使用搜索个性化功能。
与page/hitPerPage或limit/offset类似,个性化选项必须在联合属性中指定才能正常工作。否则将返回错误,提醒您将该属性移至联合属性中。
由@ManyTheFish在https://github.com/meilisearch/meilisearch/pull/6414中贡献
新设置索引器功能完成 🎉
- 我们现在更好地支持了分词器相关设置
- 我们改进了新设置索引器的质量,以增强引擎在更改区域设置、字典、同义词、停用词、分隔符和非分隔符令牌时的性能
- 这使新设置索引器功能完整,意味着除非您将
MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGS环境变量设置为true,否则所有设置任务现在都可以由新设置索引器处理,带来更好的扩展行为、更快的取消速度和更精确的进度视图
由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6409中贡献
可观测性改进
我们公开了更多Prometheus指标以提高可观测性,特别是显示更多关于文档吞吐量的指标,便于调试。
由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6430中贡献
🦋 修复
- 在rankingRules列表中将attributeRank/wordPosition放在words之前不再会从响应中移除命中项,由@pjdurden在https://github.com/meilisearch/meilisearch/pull/6437中贡献
- Meilisearch在嵌入文档时某些条件下将不再忽略
searchCutoffMs,由@dureuill在https://github.com/meilisearch/meilisearch/pull/6447中贡献 - 在远程联邦搜索或
useNetwork: true搜索请求中,Meilisearch将不再因过滤器包含'而无法代理搜索请求,由@dureuill在https://github.com/meilisearch/meilisearch/pull/6445中贡献
🔒 安全性
- CI:防止GitHub Actions发布工作流中的Shell注入,由@curquiza在https://github.com/meilisearch/meilisearch/pull/6420中贡献
🔩 其他变更
搜索实现重构
重构搜索管道以共享代码。新实现将始终在底层执行联合搜索,然后将输出转换为预期路由的输出。
从用户角度看显著的变化:
- 部分错误信息已修改
- 较小的破坏性更改:部分错误代码发生变化,例如
MultiSearch<Error><–>Search<Error>
其他变更
- 使在Meilisearch端点上用作body参数的类型声明更简单、更少出错,由@dureuill在https://github.com/meilisearch/meilisearch/pull/6429中贡献
- 从设置中移除现已不再使用的
vectorStoreBackend设置,由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6399中贡献 - 用官方依赖替换自定义hf-hub git依赖,由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6442中贡献
- 更新Python SDK测试CI,由@Strift在https://github.com/meilisearch/meilisearch/pull/6439中贡献
- 重构代码以在各处使用
MustStopProcessing类型,由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6423中贡献
新贡献者
- @pjdurden在https://github.com/meilisearch/meilisearch/pull/6437中首次贡献
完整变更日志:https://github.com/meilisearch/meilisearch/compare/v1.46.1…v1.47.0
更新内容 (原始)
🌈 Enhancements
Search personalization on federated search
We now support using the search personalization feature on federated search requests.
Like page/hitPerPage or limit/offset, the personalization option must be specified in the federation attribute to work properly.
Otherwise, an error will be returned reminding you to move the attribute in federation.
By @ManyTheFish in https://github.com/meilisearch/meilisearch/pull/6414
The new settings indexer is feature complete 🎉
- We now better support the tokenizer-related settings
- We improved the quality of the new settings indexer to enhance the engine’s performance when changing the locales, the dictionary, synonyms, stop words, separator, and non-separator tokens.
- This makes the new settings indexer feature-complete, meaning that, unless you set the
MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGSenvironment variable totrue, all settings tasks can now be handled by the new settings indexer, bringing a better scaling behavior, much faster cancellation, and a more precise progress view.
By @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6409
Observability improvements
We expose more Prometheus metrics to improve observability, specifically to show more metrics on document throughput and ease debugging.
By @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6430
🦋 Fixes
- Putting attributeRank/ wordPosition before words in the rankingRules list will no longer remove hits from the response, by @pjdurden in https://github.com/meilisearch/meilisearch/pull/6437
- Meilisearch will no longer ignore the
searchCutoffMsin some conditions when embedding documents, by @dureuill in https://github.com/meilisearch/meilisearch/pull/6447 - Meilisearch will no longer fail to proxy a search request with a filter containing a
'during remote federated search oruseNetwork: truesearch requests, by @dureuill in https://github.com/meilisearch/meilisearch/pull/6445
🔒 Security
- CI: Prevent shell injection in GitHub Actions release workflows by @curquiza in https://github.com/meilisearch/meilisearch/pull/6420
🔩 Misc. changes
Search implementation refactor
Refactor the search pipeline to mutualize the code. The new implementation will always perform a federated search under the hood, and then the output will be transformed into the expected route’s output.
Noticeable changes from the user perspective:
- Some error messages have been modified
- Small breaking change: a few error codes change, such as
MultiSearch<Error><–>Search<Error>
Other changes
- Make it easier and less error-prone to declare a type that is used as a body parameter on a Meilisearch endpoint, by @dureuill in https://github.com/meilisearch/meilisearch/pull/6429
- Remove the now unused
vectorStoreBackendsetting from the settings, by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6399 - Replace custom hf-hub git dependency by the official one by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6442
- Update Python SDK test CI by @Strift in https://github.com/meilisearch/meilisearch/pull/6439
- Refactor the code to use the
MustStopProcessingtype everywhere by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6423
New Contributors
- @pjdurden made their first contribution in https://github.com/meilisearch/meilisearch/pull/6437
Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.46.1...v1.47.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