WordPress Sphinx Search Plugin allows to use Sphinx Search Server power to enable ultra-fast and feature-rich search on WordPress-based websites.
* WordPress 2.0.2 or higher
* Sphinx Search 0.9.9 or higher
* Writable WordPress upload directory for Sphinx configuration files, logs and indexes
Online step-by-step installation guide
To setup periodical re-indexing, you should run Wizard to create special schedule files. The default location of these files is: /path/to/wp-content/uploads/sphinx/cron/. When wizard finishes, edit your Crontab file. Use “crontab -e” command in Linux terminal and add the following lines to your crontab:
#WordPress Delta index update
#Following cron job update delta index every 5 minutes:
*/5 * * * * /usr/bin/php /path/to/wp-content/uploads/sphinx/cron/cron_reindex_delta.php
#WordPress Main index update
#Following cron job update main index daily (at 0 hours and 5 minutes):
5 0 * * * /usr/bin/php /path/to/wp-content/uploads/sphinx/cron/cron_reindex_main.php
#WordPress Stats index update
#Following cron job update stats index every 5 minutes
*/5 * * * * /usr/bin/php /path/to/wp-content/uploads/sphinx/cron/cron_reindex_stats.php
Extended search form on search results page
<?php if (function_exists('ss_search_bar'))
echo ss_search_bar();/*put it in search page*/?>
To find out if the current post is comment
<?php if (function_exists('ss_isComment') )
if (ss_isComment()) echo 'It is comment'; else echo '';?>
Extended search form at the sidebar Use "Sphinx Search sidebar" widget or add it as template tag:
<?php if (function_exists('ss_search_bar'))
echo ss_search_bar(true); /*put it in sidebar*/?>
Related/Top searches at the sidebar Use "Sphinx Related/Top Searches" widget or add it as template tag:
<?php if (function_exists('ss_top_searches')) ss_top_searches(); ?>
Top searches with pagination Use "ss_top_searches_pager($max_per_page=10, $show_all=false)" template tag to enable pagination for top search terms:
<?php if (function_exists('ss_top_searches_pager')) ss_top_searches_pager(); ?>
Parameters: * $max_per_page - limit how many search terms to display per page, by default 10 * $show_all - If set to True, then it will show all of the pages instead of a short list of the pages near the current page. By default, the 'show_all' is set to false
Latest searches at the sidebar Use "Sphinx Latest Searches" widget or add it as template tag:
<?php if (function_exists('ss_latest_searches')) ss_latest_searches(); ?>
Requires: 2.0.2 or higher
Compatible up to: 3.2.1
Last Updated: 2011-10-25
Downloads: 7,936




