Book Image

Sphinx Search Beginner's Guide

By : Abbas Ali
Book Image

Sphinx Search Beginner's Guide

By: Abbas Ali

Overview of this book

Table of Contents (15 chapters)
Sphinx Search
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

The application


First, let's understand what we are going to accomplish in this chapter. We will create an application wherein you can add feed URLs. These feeds will then be periodically fetched and indexed using Sphinx.

We will create some MySQL database tables to store feed information. However, we will not store the description of feed items in our database. The description will be stored in a Sphinx index so that full-text search queries can be issued against the index.

We will then create search form wherein a user can enter a search phrase, author, and also select multiple categories. On submission of the form we will perform a search on the Sphinx index and filter the results as per the categories selected.

The search results (feed items) will then be shown in the ascending order of relevance.

Tools and software used while creating this application

  • PHP 5.3.2

  • Apache 2.2.14

  • MySQL 5.1.14

  • Sphinx 0.9.9

  • phpMyAdmin (to manage database)

  • Ubuntu 10.04 LTS

  • Firefox 3.6

  • SimplePie version 1.2+

It is not...