- Sphinx Search Beginner's Guide
- Abbas Ali
- 312字
- 2021-04-09 21:30:56
If you're looking for a good Database Management System (DBMS), there are plenty of options available with support for full-text indexing and searches, such as MySQL, PostgreSQL, and SQL Server. There are also external full-text search engines, such as Lucene and Solr. Let's see the advantages of using Sphinx over the DBMS's full-text searching capabilities and other external search engines:
- It has a higher indexing speed. It is 50 to 100 times faster than MySQL FULLTEXT and 4 to 10 times faster than other external search engines.
- It also has higher searching speed since it depends heavily on the mode, Boolean vs. phrase, and additional processing. It is up to 500 times faster than MySQL FULLTEXT in cases involving a large result set with GROUP BY. It is more than two times faster in searching than other external search engines available.
- As mentioned earlier, relevancy is among the key features one expects when using a search engine, and Sphinx performs very well in this area. It has phrase-based ranking in addition to classic statistical BM25 ranking.
- Last but not the least, Sphinx has better scalability. It can be scaled vertically (utilizing many CPUs, many HDDs) or horizontally (utilizing many servers), and this comes out of the box with Sphinx. One of the biggest known Sphinx cluster has over 3 billion records with more than 2 terabytes of size.
In one of his presentations, Andrew Aksyonoff (creator of Sphinx) presented the following benchmarking results. Approximately 3.5 Million records with around 5 GB of text were used for the purpose.

Apart from a basic search, there are many features that make Sphinx a better solution for searching. These features include multivalve attributes, tokenizing settings, wordforms, HTML processing, geosearching, ranking, and many others. We will be taking a more elaborate look at some of these features in later chapters.
- TArch 8.5天正建筑軟件標(biāo)準(zhǔn)教程
- Excel圖表與表格實戰(zhàn)技巧精粹
- 中文版After Effects CC實用教程
- Moldflow 2010完全自學(xué)與速查手冊(模流分析·成本控制)
- 視覺封王:Photoshop CC 2019立體化教程(素材+視頻+教案)
- Photoshop CS6實戰(zhàn)基礎(chǔ)培訓(xùn)教程(全視頻微課版)
- NetLogo多主體建模入門
- Lighttpd
- Premiere CC視頻編輯入門與應(yīng)用
- Premiere Pro CC 2018基礎(chǔ)教程(第3版)
- NetSuite OneWorld Implementation 2011 R2
- Building Websites with XOOPS : A step/by/step tutorial
- Origin 2022科學(xué)繪圖與數(shù)據(jù)分析(高級應(yīng)用篇)
- Altium Designer 20 中文版從入門到精通
- Apache Solr High Performance