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
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
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
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
these days the project needs to do a new full-text search function on goods, so thought of using Sphinx, because the need for Chinese participle, so chose Sphinx for Chinese, of course, you can also choose Coreseek, suggest that these two choose one,
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 ',
Sphinx1 Downloads Sphinxhttp://sphinxsearch.com/2 compiling the installationTAR-ZXVF sphinx.tar.gz./configure--prefix=/usr/local/sphinx--with-mysql=/usr/local/mysql make && make installImportant Three commands in Sphinx (Sphinx installed bin
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,
Install and configure the application in Sphinx
Sphoff is a full-text search engine developed by Russian Andrew Aksyonoff. It is intended to provide other applications with full-text search functions featuring high speed, space occupation, and high
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.