# 第六章 全文搜索

在本节中，您将学习如何使用MySQL全文搜索功能。 MySQL全文搜索提供了一种实现各种高级搜索技术的简单方法，如自然语言搜索，布尔文本搜索和查询扩展。

**1.MySQL全文搜索简介**

* 简要介绍MySQL全文搜索及其功能。

  参考阅读：<http://www.yiibai.com/mysql/introduction-to-mysql-full-text-search.html>

**2.定义MySQL全文搜索的FULLTEXT索引**

* 在本教程中，您将学习如何定义数据库表中列的全文索引，然后才能执行全文搜索。

  参考阅读：<http://www.yiibai.com/mysql/activating-full-text-searching.html>

**3.MySQL自然语言全文搜索**

* 基本上在自然语言搜索中，MySQL查找与自由文本自然人类语言查询相关的行或文档，例如“如何使用MySQL全文搜索”。

  参考阅读：<http://www.yiibai.com/mysql/natural-language-search.html>

**4.MySQL布尔全文搜索**

* 您将了解MySQL布尔全文搜索及其主要功能。我们使用一些例子讲解，帮助您更好地理解这个概念。

  参考阅读：<http://www.yiibai.com/mysql/boolean-text-searches.html>

**5.使用MySQL查询扩展**

* 我们向您展示了MySQL全文搜索的一个非常重要的功能，称为查询扩展。

  参考阅读：<http://www.yiibai.com/mysql/using-mysql-query-expansion.html>

**6.MySQL ngram全文解析器**

* 本教程将向您展示如何使用MySQL ngram全文解析器来支持中文，日文，韩文等表意语言的全文搜索。

  参考阅读：<http://www.yiibai.com/mysql/ngram-full-text-parser.html>


---

# 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://hezhiqiang-book.gitbook.io/mysql/di-liu-zhang.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.
