What is SphinxSphinx is a full-text search engine released under GPLv2, commercial authorization (for example, embedded in other programs) needs to contact us (Sphinxsearch.com) for commercial authorization. Generally, Sphinx is an independent
Sphinx Chinese Getting Started Guide wuhuiming
1. Introduction
What is 1.1.Sphinx?
Features of the 1.2.Sphinx
1.3.Sphinx Chinese participle
2. Installation Configuration Example
2.1
This is a half year ago did not write the article, now take out to share under. There may be some incorrect or inaccurate places, some languages may be more frivolous, please forgive me.
For an example of the above email data
Data table:
CREATE TABLE Email (
emailid mediumint (8) unsigned not NULL auto_increment COMMENT ' mail id ',
fromid Int (a) unsigned Not null default ' 0 ' COMMENT ' Sender ID ',
toid Int (a) unsigned NOT null default ' 0 ' COMMENT ' recipient id ',
First of course, from the Sphnix Web site Download Sphinx Source package, the current version is: http://www.sphinxsearch.com/downloads/Of course, you also need to ensure that your system has MySQL installed.
Second, the installation is in
One, software preparation
coreseek4.1 (includes the latest version of Coreseek Beta and mmseg, and test packages "built-in Chinese word segmentation and search, Word segmentation, MySQL data source, Python
Sphinx-for-chinese use method will use Sphinx-for-chinese-2.2.1-dev-r4311-win32 as an example, currently I only find the latest is this version released in 2013.11.09.: http://sphinxsearchcn.github.io/After downloading, extract the following
The company project just import a large number of product data, and then found that the site's product search is very card, originally is the original SQL like to do fuzzy search, the amount of data 20W can also be accepted, but millions of cards,
I. Setting of the Sphinx Incremental IndexThe data in the database is large, and new data is added to the database, and you want to be able to retrieve it. All re-indexing is very resource-intensive because we need to update the data relatively
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.