- Sphinx Search Beginner's Guide
- Abbas Ali
- 211字
- 2021-04-09 21:30:56
Sphinx is an external solution for database search, which means that it runs outside the main database used for your application. It takes data from the database and creates indexes that are stored on a file system. These indexes are highly optimized for searching and your application uses an API to search the indexes.
Sphinx interacts with the database using a data source driver which comes along with Sphinx. You need to specify which data source driver should be used by Sphinx in its configuration file.
As shown at the beginning of this chapter, Sphinx is shipped with some binary programs which were installed at /usr/local/sphinx/bin
directory. Let's take a look at two principal programs that are used by Sphinx for indexing and searching purposes.
- indexer: This program is used for indexing and re-indexing full-text indexes. By default, Sphinx reads the configuration file at
/usr/local/sphinx/etc/sphinx.conf
to know what and how to index. We will be dealing withsphinx.conf
in more detail during later chapters. - searchd: This is the daemon used for searching the indexes. It requires a client to access the Sphinx API. There are a number of
searchd
client API implementations available for Sphinx.
Enough talking about Sphinx, now let's see it in action…
- 突破平面Photoshop UI界面設計與制作剖析
- 從零開始:Flash CS6中文版基礎培訓教程
- 改變思維:菜鳥也能做出震撼PPT(全彩版)
- Python Text Processing with NLTK 2.0 Cookbook: LITE
- SOLIDWORKS 2020產品設計基本功特訓(第3版)
- Liferay Portal Systems Development
- 新印象Premiere短視頻拍攝+剪輯+特效關鍵技術
- 7小時精通剪映:短視頻剪輯/調色/特效/字幕(手機版+電腦版)
- AI繪畫基礎與商業實戰
- Instant Apache Sqoop
- 中文版SolidWorks 2018完全實戰技術手冊
- Oracle Application Express Forms Converter
- Joomla! 1.5 Content Administration
- C# 2008 and 2005 Threaded Programming: Beginner's Guide
- Photoshop 圖形圖像處理