Sphinx Search Beginner's Guide

Abbas Ali

  • 出版商: Packt Publishing
  • 出版日期: 2011-03-21
  • 售價: $1,770
  • 貴賓價: 9.5$1,682
  • 語言: 英文
  • 頁數: 244
  • 裝訂: Paperback
  • ISBN: 184951254X
  • ISBN-13: 9781849512541
  • 海外代購書籍(需單獨結帳)

商品描述

Implement full-text search with lightning speed and accuracy using Sphinx

  • Create applications with full-text search functionality
  • Build indexes from varied data sources
  • Use the Sphinx client API implementation in your application to fire full text-search queries
  • Filter, sort, and group results based on different attributes
  • Search with different matching and ranking modes
  • Each chapter is explained using plenty of real-world examples

In Detail

Sphinx is an open-source full-text search server, designed from the ground up with a focus on performance, relevance, and integration simplicity. With Sphinx, you can either batch index and search data stored in an SQL database, NoSQL storage, or just files quickly and easily — or index and search data on the fly, working with Sphinx pretty much as a database server.

Sphinx Search Beginner's Guide serves as a guide to everything you need to know about running a Sphinx Search Engine. In today's world, search is an integral part of any application and having a reliable search engine like Sphinx Search can be the difference between running a successful and unsuccessful business. What good is being on the Web if no one knows you are there? It is easy to build a proficient search engine with Sphinx Search Beginner's Guide to hand.

This practical guide provides insight into one of the most popular open source search engines, Sphinx. You will learn how to set up Sphinx on your own server, with the basics of how a search engine works explained in brief. You will learn how to create an index using Sphinx and then perform a search on that index using the client API, as well as learning how to configure Sphinx to get the most out of it. You will also be shown how Sphinx gives quality search results by relevance ranking. The book will help a beginner in all possible ways to create both simple and complex search forms in their applications. It's easy to use Sphinx Search engine, when you have the Sphinx Search Beginner's Guide to hand.

What you will learn from this book

  • Install Sphinx on your system
  • Create indexes in Sphinx by using Sphinx's indexer utility
  • Use the Sphinx API to issue search queries from your PHP applications
  • Filter your search results using different attributes
  • Create a functional application in PHP that will use the Sphinx search engine as the backend to serve search queries
  • Use PHP to create an application that fetches different feeds and stores the feed item data in a Sphinx index
  • Create an advanced search form that implements lots of filters, as well as a search form for geodistance searches
  • Explore the different configuration options available in the Sphinx configuration file that tailor Sphinx according to your needs

Approach

This book is a step-by-step guide for an absolute beginner. It covers everything, from installing to configuring, to get you started quickly. It has numerous code examples that the reader can try on their own and learn while doing so. It has two full-fledged applications as examples that readers can follow. This book is specifically focused on the Search feature of web applications

Who this book is written for

This book is for developers who are new to Sphinx Search. All code examples use PHP but the logic is same for any other web scripting languages as well.