Home  >  Article  >  Backend Development  >  使用Sphinx对索引进行搜索_php技巧

使用Sphinx对索引进行搜索_php技巧

WBOY
WBOYOriginal
2016-05-17 08:59:07756browse

Sphinx对索引进行搜索主要分为以下几步:
1、用户输入查询语句。

2、对查询语句进行词法分析,语法分析,及语言处理。

3、搜索索引,得到符合语法树的文档。

4、根据得到的文档和查询语句的相关性,对结果进行排序。

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn