Advanced sphinx
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
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.
Port to drupal 7:
https://github.com/gagaga67/advanced_sphinx
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"
Ðа руÑÑком:
ÐŸÑ€ÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¸ теÑтирование веÑьма желательны. Первоначально модуль делала под Ñвои нужды, так что вÑе лишнее, на мой взглÑд, отÑутÑтвует :). ЕÑли понадобÑÑ‚ÑÑ ÐºÐ°ÐºÐ¸Ðµ-то доработки, буду рада помочь.
Порт на drupal 7:
https://github.com/gagaga67/advanced_sphinx
ОÑновные Ð¾Ñ‚Ð»Ð¸Ñ‡Ð¸Ñ Ð¾Ñ‚ базового:
* возможноÑть автоматичеÑкой генерации файла конфигурации;
* 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"
