- Sphinx Search Beginner's Guide
- Abbas Ali
- 334字
- 2021-04-09 21:30:54
Now that we have installed Sphinx, let's move forward and take a look at different search techniques and get acquainted with the different utilities Sphinx has to offer.
In this chapter we will take a dive into full-text search and look at different advantages of it. We will then see how Sphinx utilizes full-text search and also learn about
indexer, search
andsearchd
utilities that come along with Sphinx. We will also see a very basic example of how Sphinx works.
Note
Make sure that you have installed Sphinx using the steps mentioned in Chapter 1, Setting Up Sphinx before proceeding.
Before we proceed any further, let's first check whether Sphinx was properly installed on our system. As we had used the --prefix
configure option during installation, all Sphinx binaries and configuration files must have been placed in one single directory, that is, the one which was specified with --prefix
.
We are assuming that you have installed Sphinx on a Linux machine. If everything went fine then a directory /usr/local/sphinx
should have been created on your system. It should be structured in the same way as the following screenshot.

You can see that we have a few binary files in bin
directory and few configuration files in the etc
directory. Then we have the var
directory that will hold the actual index data and search logs. We will look at all of these in details in later chapters.
To test whether the Sphinx binary is working first change your directory to bin:
$ cd /usr/local/sphinx/bin
Then issue the command./indexer:

You can see that it outputs some information along with the version of Sphinx being installed, which in our case is 0.9.9.
The output above confirms that we are good to go, so let's move forward
- MATLAB計算機視覺經(jīng)典應(yīng)用
- PS職場達人煉成記:人人都能學(xué)會的Photoshop辦公設(shè)計技巧
- Photoshop CS6中文版基礎(chǔ)培訓(xùn)教程
- Photoshop網(wǎng)店美工實例教程(第2版 全彩微課版)
- AutoCAD 2017從新手到高手
- 新編AutoCAD制圖快捷命令速查一冊通
- Vue.js快速入門
- 快學(xué)熟用D3
- 說服力:工作型PPT該這樣做(第2版)
- 新印象Premiere短視頻拍攝+剪輯+特效關(guān)鍵技術(shù)
- 剪映+Vlog+Premiere短視頻制作從新手到高手
- AI繪畫精講:Stable Diffusion從入門到精通
- Building SOA/Based Composite Applications Using NetBeans IDE 6
- Oracle ADF Enterprise Application Development—Made Simple
- 音樂制作7天速成:Studio One編曲教程