Sphinx Advanced
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Getting started
This section will describe:
ï€ Installation of the module Sphinx Advanced;
ï€ The basic concept of the module;
ï€ A use of module's resources.
Requirements
To use the module (the generation of configuration files for the Sphinx) Sphinx Advanced it is necessary to set up Drush (http://drupal.org/project/drush).
Sphinx Advanced administration page
After installing and activating the Sphinx Advanced in order to access the basic configuration module click Site Configuration -> Sphinx Advanced settings -> Sphinx settings (or click on the link http://example.com/admin/settings/sphinx_advanced).
Enter the address of the server (Default server) and port (Default port) to connect to your server Sphinx (Sphinx server).
To create an index and a use of the module follow the instructions.
HowTo: Add an index
Adding an index consists of two phases: the description of the index in the module and the generation of Sphinx Advanced configuration file for the Sphinx.
Description of the index in the module Sphinx Advanced
Go to the control module page (Sphinx Advanced administrative page). Click on the Advanced Indexes and then open Add new index. To fill in all required fields, please refer to the documentation for Sphinx (http://sphinxsearch.com/docs/).
To activate the index, select Enable, to disable the index deselect Enable.
After confirmation, you will see «added to the index» in the index list. The index can be removed /disabled or changed.
Generation of a configuration file for Sphinx and a launch of the daemon to locate
To generate a configuration file and start the daemon, run three teams in the drush.
 drush sphinx-advanced-rebuild is a generation of a configuration file. The configuration file is saved in the directory of sphinx which will be located on a level above from the root directory of a site (for example: the site is located along the path of /var/www/sample_site, in this case the configuration file will be saved on the path /var/www / sphinx)
 drush sphinx-advanced-reindex runs reindexing (by argument you can specify the name of the index for the re-indexing of a specific index)
 drush sphinx-advanced-searchd - search daemon running
Additional information
The terminology used in the work with the module fully complies with the official documentation Sphinx (http://sphinxsearch.com/docs/) and with terminology used in the module Search API (http://drupal.org/node/1254414)
