Home > Backend Development > PHP Tutorial > 使用Sphinx对索引进行搜索_PHP

使用Sphinx对索引进行搜索_PHP

WBOY
Release: 2016-06-01 12:05:40
Original
751 people have browsed it

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

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

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

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

 

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template