发布日期: 2026-01-19
版本号: v1.33.0

本次更新新增了获取索引所有字段信息的端点,并通过并行处理优化了旧版数据的升级性能,将耗时从近3小时缩短至7分钟内。同时修复了索引达到2TB时的扩展问题,升级了前端仪表板以修复安全漏洞,此外还改进了测试、OpenAPI文档描述并添加了代码示例。感谢所有贡献者。

更新内容 (中文)

✨ 增强功能

  • 通过 @YoEight 在 https://github.com/meilisearch/meilisearch/pull/6082 添加 /fields 路由以获取索引的所有字段 新增了一个 POST /indexes/{indexUid}/fields 端点,该端点返回索引中所有字段的详细元数据信息。此端点提供了关于每个字段配置的全面信息,包括显示、搜索、过滤和本地化设置。

  • 通过 @Kerollmops 在 https://github.com/meilisearch/meilisearch/pull/6100 实现并行清理旧字段 ID 通过对数据库获取操作进行多线程处理,我们缩短了为 v1.32.0 之前的实例执行无转储升级所需的时间。通过此操作,我们将升级时间从 2 小时 50 分钟缩短到了不到 7 分钟。

  • 通过 @Kerollmops 在 https://github.com/meilisearch/meilisearch/pull/6103 将 hannoy 版本升级至 0.1.4-nested-rtxns 我们更新了内部向量存储,以通过改进图重建来加速无转储升级,并通过使用探索因子(explore factor)作为限制来停止文档搜索(而非查询限制),从而提高了搜索的速度和相关性。

🪲 错误修复

🔒 安全

🔩 杂项

感谢 @Vipul-045 的首次贡献 ❤️

更新内容 (原始)

✨ Enhancement

  • Add /fields route to get all the fields of an index by @YoEight in https://github.com/meilisearch/meilisearch/pull/6082 Adds a new POST /indexes/{indexUid}/fields endpoint that returns detailed metadata about all fields in an index. This endpoint provides comprehensive information about each field’s configuration, including display, search, filtering, and localization settings.

  • Implement parallel cleanup of old field IDs by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6100 We reduce the time required to perform the dumpless upgrade for instances before v1.32.0 by multi-threading database fetches. By doing that, we noticed improvements from 2 hours and 50 minutes to a bit less than 7 minutes.

  • Bump hannoy to 0.1.4-nested-rtxns by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6103 We updated our internal vector store to speed up the dumpless upgrade by improving the graph rebuilding and improving the speed and relevance of the search by using the explore factor as a limit to stop document searches rather than the query limit.

🪲 Bug fixes

🔒 Security

🔩 Miscellaneous

Thank you @Vipul-045 for your first contribution ❤️

下载链接