# Manticore Search 17.5.1

Manticore Search 17.5.1：维护版本，包含错误修复和小改进

[Manticore Search 17.5.1](/install-17.5.1/) 已发布。此维护版本包含错误修复、小改进和更新的推荐库版本。

---

## 破坏性变更

如果您从旧版本升级，请查看以下内容：

- MCL 10.0.0：新增对 `DROP CACHE` 的支持。这更新了守护进程与 MCL 之间的接口。旧版 Manticore Search 不支持较新的 MCL。([Issue #4120](https://github.com/manticoresoftware/manticoresearch/issues/4120))
- Percolate 查询的 JSON 响应现在返回 hit 的 `_id` 和 `_score` 为数字而非字符串，因此现在与常规搜索匹配；这对依赖这些字段字符串类型的客户端是破坏性变更。([Issue #4019](https://github.com/manticoresoftware/manticoresearch/issues/4019))

---

## 推荐版本

- **MCL（Manticore Columnar Library）**：10.2.0
- **Manticore Buddy**：3.41.0

如果您遵循 [官方安装指南](/install-17.5.1/)，则无需担心，因为正确的版本将自动安装。

---

## 新功能和改进

本次发布亮点：

- 更新后的 [MCL](https://github.com/manticoresoftware/columnar) 新增了对 Llama、Qwen、Mistral、Gemma 和 [其他模型](https://manual.manticoresearch.com/Searching/KNN#Creating-a-table-with-auto-embeddings) 的自动嵌入支持。
- Jieba 形态学实例现在在相同配置的表之间共享，当许多表使用 Jieba 时，大大减少了内存使用。
- [stopwords](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Ignoring_stop-words#stopwords_list)、[wordforms](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Wordforms#wordforms_list)、[exceptions](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Exceptions#exceptions_list) 和 [hitless_words](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Low-level_tokenization#hitless_words_list) 现在可以在 `CREATE TABLE` 中内联设置，因此可以在不使用外部文件的情况下创建表。

---

## 错误修复

本次发布的重要修复：

- 修复了当某一列同时是字符串属性和存储字段时，JOIN 查询结果返回空值或重复值的问题；现在属性值将正确返回。([Issue #3498](https://github.com/manticoresoftware/manticoresearch/issues/3498))
- 修复了在 JSON 字符串属性（例如 `j.s`）上进行 JOIN 时返回无匹配项的问题；现在它们的工作方式与普通字符串属性的 JOIN 相同。([Issue #2559](https://github.com/manticoresoftware/manticoresearch/issues/2559))
- 修复了 `highlight()` 与 `html_strip_mode=strip` 时内容被解码实体并修改标签导致损坏的问题；现在保留原始实体形式。([Issue #1737](https://github.com/manticoresoftware/manticoresearch/issues/1737))
- 修复了当表有多个磁盘块时，`ALTER TABLE REBUILD SECONDARY` 失败并提示 `failed to rename ... .tmp.spjidx` 的问题。([Issue #3203](https://github.com/manticoresoftware/manticoresearch/issues/3203))
- 修复了当代理表包含重复文档 ID 时，分布式查询从错误的本地索引返回存储字段的问题。([Issue #4148](https://github.com/manticoresoftware/manticoresearch/issues/4148))
- 修复了表重命名破坏使用外部 stopwords、wordforms 或 exceptions 的表的问题：`ATTACH TABLE` 现在能正确迁移这些文件。([Issue #4176](https://github.com/manticoresoftware/manticoresearch/issues/4176))
- 修复了在不同字段中对相同短语使用 OR 进行 MATCH 时返回其他字段匹配项的问题。([Issue #4128](https://github.com/manticoresoftware/manticoresearch/issues/4128))
- 修复了带有表级设置的 `ALTER TABLE` 在带有自动嵌入的表上失败的问题；序列化时现在在设置 `model_name` 时省略 `knn_dims`。([Issue #4131](https://github.com/manticoresoftware/manticoresearch/issues/4131))

...以及更多（总共 47 个错误修复）。完整列表请参阅 [变更日志](https://manual.manticoresearch.com/Changelog#Version-17.5.1)。

---

## 兼容性

Manticore Search 17.5.1 与现有数据和查询保持 **强大的向后兼容性**；请参阅上方的破坏性变更说明。
要升级，请遵循 [安装指南](/install/)。

## 需要帮助或想联系？

- 加入我们的 [Slack](https://slack.manticoresearch.com)  
- 访问 [论坛](https://forum.manticoresearch.com)  
- 在 [GitHub](https://github.com/manticoresoftware/manticoresearch/issues) 上报告问题或提出功能建议  
- 邮件至 `contact@manticoresearch.com`  

如需完整详情，请参阅 [变更日志](https://manual.manticoresearch.com/Changelog#Version-17.5.1)。
