Warning: This plugin has't been updated in over 53 years. It may no longer be maintained.
What you can do to help:
# Sphinx Search for Elgg 1.8
This plugin uses the open source Sphinx search engine to power search on your Elgg site.
This is (theoretically) much faster than mysql's fulltext search engine, and
also provides some nice features such as stemming. Read more about Sphinx at
Currently uses Sphinx for `user`, `group`, and `object` searches only. Falls
back to default Elgg search functionality for `tag` and `comment` searches.
## Installation
***WARNING: IT IS CRITICAL THAT YOUR ELGG DATA DIRECTORY BE INSTALLED OUTSIDE THE
WEB ROOT BEFORE INSTALLING THIS PLUGIN. FAILING TO DO SO WILL GUARANTEE EXPOSURE
OF YOUR DATABASE CREDENTIALS TO THE GENERAL PUBLIC.***
Note: Your server may require certain permissions to allow you to install + run
Sphinx. If you cannot get those permissions, you should not use this plugin.
Note: all commands are given as if on Linux. For Windows, just add ".exe".
1. Place the plugin folder in your "mod" directory as "sphinx"
2. Go to /admin/plugins and activate the "Sphinx Search" plugin
3. Download Sphinx -- http://sphinxsearch.com/downloads/beta/
4. Install Sphinx -- http://sphinxsearch.com/docs/manual-2.0.1.html#installation
5. Start Sphinx
```
<path to sphinx>/bin/searchd --stop
<path to sphinx>/bin/indexer --config <elgg data root>/sphinx/sphinx.conf --all
<path to sphinx>/bin/searchd --config <elgg data root>/sphinx/sphinx.conf
```
You should set up a cron to run the above commands
every so often in order to keep the indexes fresh
## Testing
I have only tested this plugin on my local Windows machine. I would welcome reports
of tests in other environments as well!
## Resources
* http://sphinxsearch.com/docs/manual-2.0.1.html
* http://www.ibm.com/developerworks/library/os-php-sphinxsearch/
View Evan Winslow's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.