Search the index using Sphinx
- 2020-06-19 10:02:14
- OfStack
Sphinx's index search is mainly divided into the following steps:
1. User input query statement.
2. Lexical analysis, grammatical analysis and language processing of query statements.
3. Search the index to get the document that conforms to the syntax tree.
4. Sort the results according to the relevance of the obtained documents and query statements.