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

Chapter 5. Feed Search

I hope the earlier chapters got you warmed up and laid a solid foundation so that you can add a rock solid, fast, and accurate search engine to your applications.

In this chapter we will create our first functional application, which will use the Sphinx search engine as the backend to service search queries. We will start from scratch and build the complete application in PHP.

In this chapter we shall:

  • Create a form to add feed title and its URL

  • Create a Sphinx configuration file with xmlpipe2 data source

  • Create a PHP script to fetch the feed items and output the XML to the Sphinx indexer

  • Create a search form to input query and display the search results

So let's get on with it...