# Manticore Search 中文文档

## 介绍

* [官网](https://manticoresearch.com/)
* [Github](https://github.com/manticoresoftware/manticoresearch)

**❗阅读最新的** [**Manticore 与 Elasticsearch 对比**](https://manticoresearch.com/blog/manticore-alternative-to-elasticsearch/) **博文❗**

Manticore Search 是一个易于使用的开源快速搜索数据库，是 Elasticsearch 的一个很好的替代方案。它与其他解决方案的区别在于：

* 它非常快速，因此比其他替代方案更具成本效益。例如，Manticore 比其他解决方案更具优势：
  * 对于[小数据](https://db-benchmarks.com/test-hn-small/#mysql-vs-manticore-search) Manticore 比 MySQL **快 182 倍** ([可复现](https://github.com/db-benchmarks/db-benchmarks#get-started)❗)
  * 对于[日志分析](https://db-benchmarks.com/test-logs10m/#elasticsearch-with-no-tuning-vs-manticore-search-default-row-wise-storage) Manticore 比 Elasticsearch **快 29 倍** ([可复现](https://github.com/db-benchmarks/db-benchmarks#get-started)❗)
  * 对于[小型数据集](https://db-benchmarks.com/test-hn-small/#manticore-search-vs-elasticsearch) Manticore 比 Elasticsearch **快 15 倍** ([可复现](https://github.com/db-benchmarks/db-benchmarks#get-started)❗)
  * 对于[中等规模数据](https://db-benchmarks.com/test-hn/#manticore-search-columnar-storage-vs-elasticsearch) Manticore 比 Elasticsearch **快 5 倍** ([可复现](https://github.com/db-benchmarks/db-benchmarks#get-started)❗)
  * 对于[大数据](https://db-benchmarks.com/test-taxi/#manticore-search-vs-elasticsearch) Manticore 比 Elasticsearch **快 4 倍** ([可复现](https://github.com/db-benchmarks/db-benchmarks#get-started)❗)
  * 在单台服务器上，Manticore 的最大吞吐量可比 Elasticsearch 高出 **2 倍** ([可复现](https://manticoresearch.com/blog/manticore-alternative-to-elasticsearch/#data-ingestion-performance)❗)
* 由于其现代的多线程架构和高效的查询并行化能力，Manticore 能够充分利用所有 CPU 核心，实现最快的响应时间。
* 强大且快速的全文搜索可无缝处理小型和大型数据集。
* 针对小型、中型和大型数据集的行式存储。
* 对于更大的数据集，Manticore 通过 [Manticore Columnar Library](https://github.com/manticoresoftware/columnar/) 提供列式存储支持，能够处理无法放入内存的数据集。
* 自动创建高效的二级索引，节省时间和精力。
* 基于成本的查询优化器优化查询，以实现最佳性能。
* Manticore 以 SQL 为主，使用 SQL 作为其原生语法，并提供与 MySQL 协议的兼容性，允许您使用您喜欢的 MySQL 客户端。
* 提供 [PHP](https://github.com/manticoresoftware/manticoresearch-php)、[Python](https://github.com/manticoresoftware/manticoresearch-python)、[JavaScript](https://github.com/manticoresoftware/manticoresearch-javascript)、[Typescript](https://github.com/manticoresoftware/manticoresearch-typescript)、[Java](https://github.com/manticoresoftware/manticoresearch-java)、[Elixir](https://github.com/manticoresoftware/manticoresearch-elixir) 和 [Go](https://github.com/manticoresoftware/manticoresearch-go) 客户端，集成变得更加轻松。
* Manticore 还提供了一个程序化的 HTTP JSON 协议，用于更灵活的数据和架构管理。
* 由 C++ 构建的 Manticore Search 启动快速，内存占用极少，底层优化使其性能表现出色。
* 支持实时插入，新增文档可以立即访问。
* 通过 [互动课程](https://play.manticoresearch.com/) 提供的互动教程，让学习变得轻松。
* Manticore 还提供内置的复制和负载均衡功能，增强了可靠性。
* 数据可以轻松同步自 MySQL、PostgreSQL、ODBC、xml 和 csv 等来源。
* 尽管不完全符合 ACID，但 Manticore 仍支持事务和二进制日志，以确保写入的安全性。
* 通过内置工具和 SQL 命令轻松进行数据备份和恢复。

[Craigslist](https://www.craigslist.org/)、[Socialgist](https://socialgist.com/)、[PubChem](https://pubchem.ncbi.nlm.nih.gov/)、[Rozetka](https://rozetka.com.ua/) 以及许多其他公司使用 Manticore 来实现高效搜索和流式过滤。

Manticore Search 是从 [Sphinx 2.3.2](https://github.com/sphinxsearch/sphinx) 于 2017 年分叉而来。

## 更多功能

全文搜索和相关性：

* 超过 20 种[全文搜索运算符](https://play.manticoresearch.com/fulltextintro/)和超过 20 种排名因素
* 自定义排名

其他搜索功能：

* [丰富的过滤功能](https://manual.manticoresearch.com/Searching/Full_text_matching/Operators)
* [分面搜索](https://play.manticoresearch.com/faceting/)
* [地理空间搜索](https://play.manticoresearch.com/geosearch/)
* [向量搜索](https://manual.manticoresearch.com/Searching/KNN)
* [表连接](https://manual.manticoresearch.com/Searching/Joining)
* [拼写纠正](https://play.manticoresearch.com/didyoumean/)
* [自动补全](https://play.manticoresearch.com/simpleautocomplete/)
* 用于过滤和数据操作的广泛函数

自然语言处理 (NLP)：

* [词干分析](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology)
* [词形还原](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology)
* [停用词](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Ignoring_stop-words#stopwords)
* [同义词](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Exceptions)
* [词形转换](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Wordforms#wordforms)
* [字符和词级别的高级分词](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Low-level_tokenization#charset_table)
* [中文分词](https://play.manticoresearch.com/icu-chinese/)
* [文本高亮](https://play.manticoresearch.com/highlighting/)

通过“渗透”表进行流过滤 [使用 "percolate" 表](https://play.manticoresearch.com/pq/)

高可用性：

* 数据可以跨服务器和数据中心分布
* [同步复制](https://play.manticoresearch.com/replication/)
* 内置负载均衡

安全性：

* [支持 https](https://play.manticoresearch.com/https/)
* [只读模式](https://manual.manticoresearch.com/Security/Read_only)

数据安全性：

* 通过 [manticore-backup 工具和 SQL 命令 BACKUP](https://manual.manticoresearch.com/Securing_and_compacting_a_table/Backup_and_restore) 来备份和恢复数据

数据存储：

* 行式存储——需要更多内存，提供更快的性能
* 列式存储——需要更少的内存，仍提供不错的性能，但对于某些查询性能略低于行式存储
* 文档存储——不需要内存，但只允许获取原始值，不能进行排序/分组/过滤

性能优化：

* [二级索引](https://manual.manticoresearch.com/Server_settings/Searchd#secondary_indexes)
* 基于成本的优化器确定查询的最有效执行计划

数据类型：

* 全文字段——倒排索引
* 行式和列式存储的 int、bigint 和 float 数字字段
* 多值属性（数组）
* 字符串和 JSON
* 用于键值用途的磁盘上 “[存储](https://play.manticoresearch.com/docstore/)”

集成：

* [与 MySQL 和 PostgreSQL 同步](https://manual.manticoresearch.com/Creating_a_table/Local_tables/Plain_table#Plain-table)
* [与 XML 同步](https://manual.manticoresearch.com/Adding_data_from_external_storages/Fetching_from_XML_streams#XML-file-format)
* [与 CSV 同步](https://manual.manticoresearch.com/Adding_data_from_external_storages/Fetching_from_CSV,TSV#Fetching-from-TSV,CSV)
* [作为 MySQL 的存储引擎](https://manual.manticoresearch.com/Extensions/SphinxSE#Using-SphinxSE)
* [通过 FEDERATED 引擎与 MySQL 连接](https://manual.manticoresearch.com/Extensions/FEDERATED)
* [ProxySQL](https://manticoresearch.com/2018/06/18/using-proxysql-to-route-inserts-in-a-distributed-realtime-index/)
* [Apache Superset](https://manticoresearch.com/blog/manticoresearch-apache-superset-integration/)
* [Grafana](https://manticoresearch.com/blog/manticoresearch-grafana-integration/)
* [Fluentbit](https://manticoresearch.com/blog/integration-of-manticore-with-fluentbit/)
* [Logstash/Filebeat](https://manticoresearch.com/blog/integration-of-manticore-with-logstash-filebeat/)
* [Vector.dev](https://manticoresearch.com/blog/integration-of-manticore-with-vectordev/)
* [Mysqldump](https://manual.manticoresearch.com/Securing_and_compacting_a_table/Backup_and_restore#Backup-and-restore-with-mysqldump)
* [Manticore Columnar Library](https://github.com/manticoresoftware/columnar)

***

## 文档目录

* [☝ 介绍](/manticoresearch-manual-zh/introduction.md)
* [❗ 首先阅读](/manticoresearch-manual-zh/read_this_first.md)
* [1️⃣ 安装](/manticoresearch-manual-zh/installation.md)
  * [• Docker](/manticoresearch-manual-zh/installation/docker.md)
  * [• RedHat和CentOS](/manticoresearch-manual-zh/installation/rhel_and_centos.md)
  * [• Debian和Ubuntu](/manticoresearch-manual-zh/installation/debian_and_ubuntu.md)
  * [• MacOS](/manticoresearch-manual-zh/installation/macos.md)
  * [• Windows](/manticoresearch-manual-zh/installation/windows.md)
  * [• 从源码编译](/manticoresearch-manual-zh/installation/compiling_from_sources.md)
  * [• Manticore Buddy](/manticoresearch-manual-zh/installation/manticore_buddy.md)
  * [• 从Sphinx迁移](/manticoresearch-manual-zh/installation/migration_from_sphinx.md)
* [🔰 快速入门指南](/manticoresearch-manual-zh/quick_start_guide.md)
* [2️⃣ 启动服务器](/manticoresearch-manual-zh/starting_the_server.md)
  * [• Linux](/manticoresearch-manual-zh/starting_the_server/linux.md)
  * [• 手动启动](/manticoresearch-manual-zh/starting_the_server/manually.md)
  * [• Docker](/manticoresearch-manual-zh/starting_the_server/docker.md)
  * [• Windows](/manticoresearch-manual-zh/starting_the_server/windows.md)
  * [• MacOS](/manticoresearch-manual-zh/starting_the_server/macos.md)
* [3️⃣ 创建表](/manticoresearch-manual-zh/creating_a_table.md)
  * [⪢ 数据类型](/manticoresearch-manual-zh/creating_a_table/data_types.md)
    * [• 行存储和列存储属性](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/G2DLIuWzpGkpXJTUwAvy#行存储和列存储属性)
  * [⪢ 创建本地表](/manticoresearch-manual-zh/creating_a_table/local_tables.md)
    * [✔ 实时表](/manticoresearch-manual-zh/creating_a_table/local_tables/real-time_table.md)
    * [• 普通表](/manticoresearch-manual-zh/creating_a_table/local_tables/plain_table.md)
    * [• 普通表和实时表设置](/manticoresearch-manual-zh/creating_a_table/local_tables/plain_and_real-time_table_settings.md)
    * [• 渗透表](/manticoresearch-manual-zh/creating_a_table/local_tables/percolate_table.md)
    * [• 模板表](/manticoresearch-manual-zh/creating_a_table/local_tables/template_table.md)
  * \[⪢ 自然语言处理（NLP）和分词]
    * [• 数据分词](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/data_tokenization.md)
    * [• 支持的语言](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/supported_languages.md)
    * [• 中文、日文、韩文（CJK）和泰语语言](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/languages_with_continuous_scripts.md)
    * [• 低级分词](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/low-level_tokenization.md)
    * [• 通配符搜索设置](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/wildcard_searching_settings.md)
    * [• 忽略停用词](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/ignoring_stop-words.md)
    * [• 词形](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/wordforms.md)
    * [• 异常处理](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/exceptions.md)
    * [• 词法](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/morphology.md)
    * [• 高级 HTML 分词](/manticoresearch-manual-zh/creating_a_table/zi-ran-yu-yan-chu-li-nlp-he-fen-ci/advanced_html_tokenization.md)
  * [⪢ 创建分布式表](/manticoresearch-manual-zh/creating_a_table/creating_a_distributed_table.md)
    * [• 创建本地分布式表](/manticoresearch-manual-zh/creating_a_table/creating_a_distributed_table/creating_a_local_distributed_table.md)
    * [• 远程表](/manticoresearch-manual-zh/creating_a_table/creating_a_distributed_table/remote_tables.md)
* [• 列出表](/manticoresearch-manual-zh/listing_tables.md)
* [• 删除表](/manticoresearch-manual-zh/deleting_a_table.md)
* [• 清空表](/manticoresearch-manual-zh/emptying_a_table.md)
* [⪢ 创建集群](/manticoresearch-manual-zh/creating_a_cluster.md)
  * [添加新节点](/manticoresearch-manual-zh/creating_a_cluster/adding_a_new_node.md)
  * [⪢ 删除节点](/manticoresearch-manual-zh/creating_a_cluster/remote_nodes.md)
    * [镜像](/manticoresearch-manual-zh/creating_a_cluster/remote_nodes/mirroring.md)
    * [负载均衡](/manticoresearch-manual-zh/creating_a_cluster/remote_nodes/load_balancing.md)
  * [⪢ 设置复制](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication.md)
    * [创建复制集群](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/creating_a_replication_cluster.md)
    * [加入复制集群](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/joining_a_replication_cluster.md)
    * [删除复制集群](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/deleting_a_replication_cluster.md)
    * [在复制集群中添加和删除表](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/adding_and_removing_a_table_from_a_replication_cluster.md)
    * [管理复制节点](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/managing_replication_nodes.md)
    * [复制集群状态](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/replication_cluster_status.md)
    * [重启集群](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/restarting_a_cluster.md)
    * [集群恢复](/manticoresearch-manual-zh/creating_a_cluster/setting_up_replication/cluster_recovery.md)
* [4️⃣ 连接服务器](/manticoresearch-manual-zh/connecting_to_the_server.md)
  * [MySQL协议](/manticoresearch-manual-zh/connecting_to_the_server/mysql_protocol.md)
  * [HTTP](/manticoresearch-manual-zh/connecting_to_the_server/http.md)
  * [通过 HTTP 的 SQL](/manticoresearch-manual-zh/connecting_to_the_server/http.md#SQL-over-HTTP)
* [⪢ 数据创建和修改](/manticoresearch-manual-zh/data_creation_and_modification.md)
  * \[⪢ 向表中添加文档]
    * [✔ 向实时表添加文档](/manticoresearch-manual-zh/data_creation_and_modification/xiang-biao-zhong-tian-jia-wen-dang/adding_documents_to_a_real-time_table.md)
    * [向渗透表添加规则](/manticoresearch-manual-zh/data_creation_and_modification/xiang-biao-zhong-tian-jia-wen-dang/adding_rules_to_a_percolate_table.md)
  * \[⪢ 从外部存储添加数据]
    * [创建普通表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/plain_tables_creation.md)
    * \[⪢ 从数据库获取数据]
      * [介绍](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-shu-ju-ku-huo-qu-shu-ju/introduction.md)
      * [数据库连接](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-shu-ju-ku-huo-qu-shu-ju/database_connection.md)
      * [执行获取查询](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-shu-ju-ku-huo-qu-shu-ju/execution_of_fetch_queries.md)
      * [处理获取的数据](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-shu-ju-ku-huo-qu-shu-ju/processing_fetched_data.md)
      * [范围查询](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-shu-ju-ku-huo-qu-shu-ju/ranged_queries.md)
    * [从 XML 流获取数据](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/fetching_from_xml_streams.md)
    * [• 从 CSV、TSV 获取数据](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/fetching_from_csv-tsv.md)
    * [• 主+增量模式查询](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/main_delta.md)
    * \[⪢ 从表中添加数据]
      * [• 合并表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-biao-zhong-tian-jia-shu-ju/merging_tables.md)
      * [• 在普通表中使用杀死列表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-biao-zhong-tian-jia-shu-ju/killlist_in_plain_tables.md)
      * [• 将一张表附加到另一张表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-biao-zhong-tian-jia-shu-ju/attaching_one_table_to_another.md)
      * [• 导入实时表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/cong-biao-zhong-tian-jia-shu-ju/importing_table.md)
    * [• 轮换表](/manticoresearch-manual-zh/data_creation_and_modification/cong-wai-bu-cun-chu-tian-jia-shu-ju/rotating_a_table.md)
  * \[⪢ 更新文档]
    * [• 替换 VS 更新](/manticoresearch-manual-zh/data_creation_and_modification/geng-xin-wen-dang/replace_vs_update.md)
    * [• 替换](/manticoresearch-manual-zh/data_creation_and_modification/geng-xin-wen-dang/replace.md)
    * [• 更新](/manticoresearch-manual-zh/data_creation_and_modification/geng-xin-wen-dang/update.md)
  * [• 删除文档](/manticoresearch-manual-zh/data_creation_and_modification/deleting_documents.md)
  * [• 事务](/manticoresearch-manual-zh/data_creation_and_modification/transactions.md)
* \[5️⃣ 搜索]
  * [• 简介](/manticoresearch-manual-zh/5-sou-suo/intro.md)
  * \[⪢ 全文匹配]
    * [• 基本用法](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/basic_usage.md)
    * [• 操作符](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/operators.md)
    * [• 转义](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/escaping.md)
    * [• 查询分析](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/profiling.md)
    * [• 布尔优化](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/boolean_optimization.md)
  * [• 搜索结果](/manticoresearch-manual-zh/5-sou-suo/search_results.md)
  * [• 过滤器](/manticoresearch-manual-zh/5-sou-suo/filters.md)
  * [• 连接](/manticoresearch-manual-zh/5-sou-suo/joining.md)
  * [• 表达式](/manticoresearch-manual-zh/5-sou-suo/expressions.md)
  * [• 搜索选项](/manticoresearch-manual-zh/5-sou-suo/options.md)
  * [• 高亮显示](/manticoresearch-manual-zh/5-sou-suo/highlighting.md)
  * [• 排序与排名](/manticoresearch-manual-zh/5-sou-suo/sorting_and_ranking.md)
  * [• 分页](/manticoresearch-manual-zh/5-sou-suo/pagination.md)
  * [• 分布式搜索](/manticoresearch-manual-zh/5-sou-suo/distributed_searching.md)
  * [• 多查询](/manticoresearch-manual-zh/5-sou-suo/multi-queries.md)
  * [• 子查询](/manticoresearch-manual-zh/5-sou-suo/sub-selects.md)
  * [• 分组](/manticoresearch-manual-zh/5-sou-suo/grouping.md)
  * [• 分面搜索](/manticoresearch-manual-zh/5-sou-suo/faceted_search.md)
  * [• 地理（Geo）搜索](/manticoresearch-manual-zh/5-sou-suo/geo_search.md)
  * [• 渗透查询](/manticoresearch-manual-zh/5-sou-suo/percolate_query.md)
  * [• 自动补全](/manticoresearch-manual-zh/5-sou-suo/autocomplete.md)
  * [• 拼写校正](/manticoresearch-manual-zh/5-sou-suo/spell_correction.md)
    * [• 模糊搜索](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/xZwQGHbBY047UTWYZGFP#模糊搜索)
  * [• 查询缓存](/manticoresearch-manual-zh/5-sou-suo/query_cache.md)
  * [• 排序规则](/manticoresearch-manual-zh/5-sou-suo/collations.md)
  * [• 基于成本的优化器](/manticoresearch-manual-zh/5-sou-suo/cost_based_optimizer.md)
  * [• K-最近邻向量搜索](/manticoresearch-manual-zh/5-sou-suo/knn.md)
* [• 更新表结构和设置](/manticoresearch-manual-zh/updating_table_schema_and_settings.md)
  * [• 在实时模式下更新表模式](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#在实时模式下更新表的全文设置)
  * [• 在实时模式下更新表的全文搜索设置](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#在实时模式下更新表的全文搜索设置)
  * [• 重命名实时表](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#重命名实时表)
  * [• 更新普通表的全文搜索设置](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#更新普通表的全文搜索设置)
  * [• 重建二级索引](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#重建二级索引)
  * [• 修改分布式表](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/U7x7TgeRxNO4Cr3cUV6S#修改分布式表)
* [⪢ 函数](/manticoresearch-manual-zh/functions.md)
  * [• 数学函数](/manticoresearch-manual-zh/functions/mathematical_functions.md)
  * [• 搜索与排名函数](/manticoresearch-manual-zh/functions/searching_and_ranking_functions.md)
  * [• 类型转换函数](/manticoresearch-manual-zh/functions/type_casting_functions.md)
  * [• 数组与条件处理函数](/manticoresearch-manual-zh/functions/arrays_and_conditions_functions.md)
  * [• 日期和时间函数](/manticoresearch-manual-zh/functions/date_and_time_functions.md)
  * [• 地理空间函数](/manticoresearch-manual-zh/functions/geo_spatial_functions.md)
  * [• 字符串函数](/manticoresearch-manual-zh/functions/string_functions.md)
  * [• 其他函数](/manticoresearch-manual-zh/functions/other_functions.md)
* \[⪢ 表的安全性与压缩]
  * [• 备份与恢复](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/backup_and_restore.md)
  * [• 实时表的结构](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/rt_table_structure.md)
  * [• 将RAM块刷新到新磁盘块](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/flushing_ram_chunk_to_a_new_disk_chunk.md)
  * [• 将实时表刷新到磁盘](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/flushing_ram_chunk_to_disk.md)
  * [• 压缩表](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/compacting_a_table.md)
  * [• 刷新与合并期间的隔离](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/isolation_during_flushing_and_merging.md)
  * [• 冻结表](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/freezing_a_table.md)
  * [• 刷新属性](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/flushing_attributes.md)
  * [• 刷新hostnames](/manticoresearch-manual-zh/biao-de-an-quan-xing-yu-ya-suo/flushing_hostnames.md)
* \[⪢ 安全]
  * [• SSL](/manticoresearch-manual-zh/an-quan/ssl.md)
  * [• 只读](/manticoresearch-manual-zh/an-quan/read_only.md)
* \[⪢ 日志]
  * [• 查询日志](/manticoresearch-manual-zh/ri-zhi/query_logging.md)
  * [• 服务器日志](/manticoresearch-manual-zh/ri-zhi/server_logging.md)
  * [• 二进制日志](/manticoresearch-manual-zh/ri-zhi/binary_logging.md)
  * [• Docker日志](/manticoresearch-manual-zh/ri-zhi/docker_logging.md)
  * [• 轮转查询和服务器日志](/manticoresearch-manual-zh/ri-zhi/rotating_query_and_server_logs.md)
* \[⪢ 节点信息与管理]
  * [• 节点状态](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/node_status.md)
  * [• SHOW META](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_meta.md)
  * [• SHOW THREADS](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_threads.md)
  * [• SHOW QUERIES](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_queries.md)
  * [• SHOW VERSION](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_version.md)
  * [• KILL](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/kill.md)
  * [• SHOW WARNINGS](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_warnings.md)
  * [• SHOW VARIABLES](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/show_variables.md)
  * \[⪢ 性能分析]
    * [• 查询分析](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/xing-neng-fen-xi/query_profile.md)
    * [• 查询计划](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/xing-neng-fen-xi/query_plan.md)
  * \[⪢ 表设置和状态]
    * [• SHOW TABLE STATUS](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/biao-she-zhi-he-zhuang-tai/show_table_status.md)
    * [• SHOW TABLE SETTINGS](/manticoresearch-manual-zh/jie-dian-xin-xi-yu-guan-li/biao-she-zhi-he-zhuang-tai/show_table_settings.md)
* \[⪢ 服务器设置]
  * [• Searchd](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/searchd.md)
  * [• 通用设置](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/common.md)
  * [• 特殊后缀](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/special_suffixes.md)
  * [• 脚本化配置](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/scripted_configuration.md)
  * [• 注释](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/comments.md)
  * [• 表和源声明的继承](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/inheritance_of_index_and_source_declarations.md)
  * [• 在线设置变量](/manticoresearch-manual-zh/fu-wu-qi-she-zhi/setting_variables_online.md)
* \[⪢ 集成]
  * [Logstash](/manticoresearch-manual-zh/ji-cheng/logstash.md)
  * [Filebeat](/manticoresearch-manual-zh/ji-cheng/filebeat.md)
  * [DBeaver](/manticoresearch-manual-zh/ji-cheng/dbeaver.md)
  * [Apache Superset](/manticoresearch-manual-zh/ji-cheng/apache_superset.md)
* \[⪢ 扩展]
  * [SphinxSE](/manticoresearch-manual-zh/kuo-zhan/sphinxse.md)
  * [FEDERATED](/manticoresearch-manual-zh/kuo-zhan/federated.md)
  * [⪢ UDFs 和插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins.md)
    * [列出插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/listing_plugins.md)
    * [⪢ 用户自定义函数 (UDF)](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/udf.md)
      * [创建函数](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/udf/creating_a_function.md)
      * [删除函数](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/udf/deleting_a_function.md)
    * \[⪢ 插件]
      * [• 创建插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/creating_a_plugin.md)
      * [• 删除插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/deleting_a_plugin.md)
      * [• 启用和禁用 Buddy 插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/enabling_and_disabling_buddy_plugins.md)
      * [• 重新加载插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/reloading_plugins.md)
      * [• 排名插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/ranker_plugins.md)
      * [• 令牌过滤器插件](/manticoresearch-manual-zh/kuo-zhan/udfs_and_plugins/cha-jian/token_filter_plugins.md)
* [• 杂项工具](/manticoresearch-manual-zh/miscellaneous_tools.md)
* [• OpenAPI 规范](/manticoresearch-manual-zh/openapi.md)
* [• 远程监控](/manticoresearch-manual-zh/telemetry.md)
* [• 更新日志](/manticoresearch-manual-zh/changelog.md)
* [🐞 报告BUG](/manticoresearch-manual-zh/reporting_bugs.md)
* [📖 参考文献](/manticoresearch-manual-zh/references.md)
  * [• 先前版本](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/pages/qHh6YLR0CKbdyjSm3z0d#旧版本Manticore的文档)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vergil-lai.gitbook.io/manticoresearch-manual-zh/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
