Also supports Boolean expressions (using &, |, -, and parentheses)
Field searching, wildcarding, and proximity operators
Fast searching (under 0.1 second on 2-4 GB index)
Stemming query processing English and Russian natively, and with libstemmer for French, Spanish, Portuguese, Italian, German, Dutch, Swedish, Norwegian, Danish, Finnish, Hungarian
Relevance based on
BM25, (a flavor of TF:IDF) and phrase-based ranking.
Sort by relevance, metadata in ascending or descending order, time range, or a SQL-like expression
Group results by day, week, month, year, or an attribute value, and show only the best match per group.
Can adjust relevance according to fields
(even at runtime)
Options for faceted metadata display
XML results interface for custom integration
Can replace SQL WHERE, ORDER BY, and GROUP BY query elements
Build a custom search engine with PHPIBM developerworks: July 31, 2007 by Martin Streicher A hands-on how-to article using an example of auto-body parts, a complex MySQL table to store the data, and Sphinx
to search, especially for "OR" searches and complex queries.
PHP Search Engine ShowdownONLamp.com
:
April 03, 2007
, by
Michael Douma First page has a nice overview of site search for database-backed sites, second page has quick reviews of iSearch (1 star), MnogoSearch (3 stars), PHPDig (2 stars), RiSearch (1 star), Sphider (3 stars), Sphinx( 3 stars). and TSEP
(two stars).
Examples
Apartment Therapy - interior and exterior design,
social networking site