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
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,
[Search engine] Sphinx introduction and Principle Exploration, search engine sphinxWhat/definition of Sphinx
Sphinx is a full-text search engine.Features
Excellent indexing and Performance
Easy to integrate SQL and XML data sources, and use the
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
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 ',
A while ago tried to use a sphinx, a full-text retrieval system that can be easily called by various languages (PHP/PYTHON/RUBY/ETC). Most of the information on the Internet is installed in the Linux environment, of course, as a production
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
What's What/sphinx?
Definition: Sphinx is a full-text search engine.
Features: excellent indexing and performance makes it easy to integrate SQL and XML data sources, and can use Sphinxapi, SPHINXQL, or sphinxse search interfaces to easily expand
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.