# • 简介

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

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

* 执行[k-最近邻搜索](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/knn)
* 应用[非全文过滤](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/filters)
* 使用[表达式](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/expressions)进行过滤
* 利用各种[搜索选项](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/options)
* 使用[多查询](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/multi-queries)和[子查询](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/sub-selects)
* 进行搜索结果的[聚合](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/grouping)和[分面搜索](https://vergil-lai.gitbook.io/manticoresearch-manual-zh/5-sou-suo/faceted_search)
* 以及更多功能

**通用语法**

**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":   
    {
      ...
    }
}
```
