Archive

Archive for November, 2007

Sphinx – An Open-Source Full Text Search Engine

November 23, 2007 Leave a comment

Nowadays, even a simple web site requires full text search capability. Search engines like Google are not well suited as a local search engine. Because a local search engine can generate more relevant and practical results than their global competitors. I have used Apache Lucene before. Recently I have found another one named Sphinx (SQL Phrase Index). According to its developers:

Generally, it’s a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes).

It is open source and also provides API for PHP and Python.