> For the complete documentation index, see [llms.txt](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/intro.md).

# • 简介

搜索是 Manticore Search 的核心功能。你可以：

执行[全文搜索](/manticoresearch-manual-zh/5-sou-suo/quan-wen-pi-pei/basic_usage.md#MATCH)并实现搜索结果的[高亮显示](/manticoresearch-manual-zh/5-sou-suo/highlighting.md)

* 执行[k-最近邻搜索](/manticoresearch-manual-zh/5-sou-suo/knn.md)
* 应用[非全文过滤](/manticoresearch-manual-zh/5-sou-suo/filters.md)
* 使用[表达式](/manticoresearch-manual-zh/5-sou-suo/expressions.md)进行过滤
* 利用各种[搜索选项](/manticoresearch-manual-zh/5-sou-suo/options.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)
* 以及更多功能

**通用语法**

**SQL**:

```sql
SELECT
    select_expr [, select_expr] ...
    [FROM tbl_name
        [{INNER | LEFT} JOIN tbl2_name]
        [WHERE where_condition]
        [GROUP BY {col_name | expr}, ... ]
        [HAVING where_condition]
        [ORDER BY {col_name | expr}
            [ASC | DESC], ... ]
    ]
    [LIMIT {[offset,] row_count | row_count OFFSET offset}]
    [OPTION option1[, option2] ...]

```

**JSON**:

```json
POST /search
{   
    "index" : "index_name",
    "options":   
    {
      ...
    }
}
```
