This module integrates Drupal with Sphinx Search ver. 0.9.9. Made on the basis of a small sphinx search search module. Suggestions and testing are highly desirable. Originally module made to fit your needs, so that all unnecessary, in my opinion, is missing:). If you need some refinement, I'd be happy to help. Porting to 7 will be, after the capture of small bugs, if any.
The main differences from the base:
* The ability to automatically generate a configuration file;
* Mysql instead xmlpipe2;
* Minimum configuration file settings through the admin panel (it works with the automatic generation);
* Can be something else ...
Setting:
1. Copy the plug-in "sites / all / modules".
2. Include in the admin.
3. Configuring the module on the page "admin / settings / advanced_sphinx". If you want to automatically generate a configuration file, then check "Generate a configuration file". Next, you must specify the full path to the folder where you stored sphinx.conf or folder in which the configuration can be created and other folders. Write permission required. Also on this page you can select the types of materials which will be implemented search, if not selected, it tries to do everything. Note that when you save your configuration settings unit will be updated if it is enabled generation.
4. run the indexer / usr / bin / indexer - config / home / user / sphinx / config / sphinx.conf - all. Then the demon sphinx / usr / sbin / searchd - config / home / user / sphinx / config / sphinx.conf. All the ways of their substitute.
5. check availability on the page "admin / settings / advanced_sphinx / check-connection".
6. Add to the right roles, the right to use the search page ("use advanced_sphinx") in "admin / user / permissions"
На русском:
Предложения и тестирование весьма желательны. Первоначально модуль делала под свои нужды, так что все лишнее, на мой взгляд, отсутствует :). Если понадобятся какие-то доработки, буду рада помочь. Портирование на 7 будет, после отлова мелких багов, при наличии таковых.
Основные отличия от базового:
* возможность автоматической генерации файла конфигурации;
* mysql вместо xmlpipe2;
* минимальные настройки файла конфигурации через админку (работает при автоматической генерации);
* может еще что-то...
Настройка:
1. Копируем модуль в "sites/all/modules".
2. Включаем в админке.
3. Настройка модуля на странице "admin/settings/advanced_sphinx". Если вы хотите автоматически сгенерировать конфиг, то поставьте галочку "Generate a configuration file". Далее необходимо указать полный путь к папке, в которой храниться sphinx.conf или папку в которой могут быть созданы конфиг и другие папки. Права на запись обязательны. Также на этой странице можете выбрать типы материалов по которым будет осуществлен поиск, если не выбрано, то ищет по всем. Обратите внимание, что при каждом сохранении настроек модуля конфиг будет обновлен, если включена его генерация.
4. запускаем индексатор /usr/bin/indexer --config /home/user/sphinx/config/sphinx.conf --all . Потом демон сфинкса /usr/sbin/searchd --config /home/user/sphinx/config/sphinx.conf . Все пути подставляйте свои.
5. проверяем работоспособность на странице "admin/settings/advanced_sphinx/check-connection".
6. Добавляем для нужных ролей право на использование страницы поиска ("use advanced_sphinx") в "admin/user/permissions"