This example does not support Chinese search currently.
Download mysql5.0.27 and above http://dev.mysql.com
Download sphinx-0.9.8-win32.zip and mysql-5.0.45-sphinxse-0.9.8-from the official sphinx website
Principle:
Using indexer in Sphinx to generate index data
service/web-end uses searched to invoke index data
Steps:
Download Sphinx:
: http://sphinxsearch.com/downloads/release/This can be based on
Official sphinx APIs include PHP, Python, Java, Ruby, and pure C. Other open-source APIs are as follows:
Perl API port, Sphinx: search, by Jon Schutz
C ++ API port, C ++ sph?client, by seznam. cz
Haskell API port, Haskell sphsf-client,
What is sphsf-amon? I will not explain it here. Let's go straight to the question.
The official API interfaces are too simple to migrate from PHP to C #. for developers who are not familiar with Sphinx, it takes a lot of time to understand how to
Search Sub Domain
For example, search jb51.net will www.jb51.net, jb51.net, host.jb51.net, etc. are searched out.
If the use of MySQL with like words efficiency is very low, millions of or even tens of millions of data that is no way to use, so
Haproxy + keepalived for Sphinx High Availability
Server Load balancer
The environment is as follows:
[Node3]
Haproxy: 192.168.1.189
[Node4]
Haproxy: 192.168.1.103
VIP: 192.168.1.222/192.168.1.223
# Apt-Get install ipvsadm
# Apt-Get install
In recent days has been reading De Shenjun's blog, he is discuz! The NT designer, reading his series about discuz! NT Architecture Design article, the big call, especially discuz! I am particularly interested in the range of scenarios that NT has
In recent days has been reading De Shenjun's blog, he is discuz! The NT designer, reading his series about discuz! NT Architecture Design article, the big call, especially discuz! I am particularly interested in the range of scenarios that NT has
In recent days has been reading De Shenjun's blog, he is discuz! The designer of NT, read his series about discuz! NT Architecture design article, big shout, especially discuz! NT in the solution of high access high concurrency is designed a series
Well, recently I saw a man jutting. How to deal with high concurrency. Actually chatting to the server matrix. I had not yet returned to God, after thinking, the server matrix I also know that mouth, but small and medium-sized enterprises can afford
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.