官术网_书友最值得收藏!

Chapter 1. Setting Up Sphinx

Search is by far the most important feature of an application where data is stored and retrieved. If it hadn't been for search, Google wouldn't exist, so we can imagine the importance of search in the computing world.

Search can be found in the following types of applications:

  • Desktop applications: Where you are the primary, and most often, the only user
  • Web applications: Where the application or website is used and visited by many users

For desktop applications, search is a quick way of locating files. Most desktop applications are not data-oriented, that is, they are not meant to organize and display information. They are rather meant to perform certain tasks, making search a secondary feature.

When using a web application, more often than not, the search becomes a means to navigate the website and look for things that we are interested in, things which are otherwise hidden deep inside the site's structure. Search becomes more important if the web application is full of rich-text content such as blogs, articles, knowledge bases, and so on; where a user needs the search functionality to find a particular piece of information.

In this chapter we will:

  • Discuss different ways to search for data
  • See how Sphinx helps us in achieving our goal
  • Learn how to install Sphinx

So let's get on with it...

What you need to know

For this chapter, it is important that you know basic Linux commands (if you intend to install sphinx on a Linux machine). If you use Windows then you should have a basic idea of how to install programs in Windows.

主站蜘蛛池模板: 来安县| 樟树市| 平遥县| 内丘县| 张家港市| 新干县| 景德镇市| 宁明县| 临颍县| 广灵县| 霍山县| 方正县| 页游| 郑州市| 惠东县| 诸城市| 大洼县| 肇源县| 稷山县| 什邡市| 西和县| 松桃| 庆阳市| 饶河县| 长宁县| 乌拉特前旗| 巴马| 秀山| 开鲁县| 壤塘县| 石棉县| 上饶市| 江都市| 奉新县| 榆中县| 灵川县| 长海县| 资源县| 珲春市| 开化县| 忻州市|