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

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.

主站蜘蛛池模板: 揭东县| 石首市| 印江| 获嘉县| 白山市| 乌兰浩特市| 长宁区| 逊克县| 元江| 扶绥县| 嵊州市| 莫力| 南安市| 安塞县| 宁海县| 奇台县| 宣城市| 揭阳市| 青冈县| 甘南县| 阳新县| 镇雄县| 财经| 高雄县| 廊坊市| 五原县| 额尔古纳市| 临朐县| 团风县| 枝江市| 沁阳市| 临漳县| 丰宁| 白城市| 纳雍县| 邵阳县| 漠河县| 汶川县| 吉林省| 华坪县| 奉贤区|