Home >Backend Development >PHP Tutorial >php+sphinx builds resource search engine

php+sphinx builds resource search engine

WBOY
WBOYOriginal
2016-07-25 08:47:421256browse
Background:
Most of the resource download links on eDonkey have been closed, and some good resources cannot be downloaded, which is a pity. Later, I found that the corresponding links could be found on some small resource websites, so I spent some time sorting them out and made a relatively friendly search interface

Main modules:
1. ed2k resource link collection and storage (mysql )
2. Build sphinx, use the resource name as the index data source, and create an efficient inverted index file
3. Start the sphinx daemon and wait for the search request
4. Drop down the search box to highlight the prompt (ajax asynchronous)
5. Display Search results

Demo address: http://23.88.239.225/

Since the sphinx installation package exceeds the 4M limit, it has not been uploaded. Friends who need it can leave their email!

Note: My technical level is average. If there is anything wrong in my writing, please correct me. Please don’t criticize me!
php+sphinx builds resource search engine php+sphinx builds resource search engine php+sphinx builds resource search engine


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