Problems with SphinxSearch in MediaWiki

时间:2015-11-12 12:12:48

标签: mediawiki sphinx mediawiki-extensions

I got: 

  • Ubuntu 14 
  • MediaWiki 1.24.2 
  • SphinxSearch 0.9.0

SphinxSearch installed as descripted here: Extension:SphinxSearch

When I build my Index with sudo indexer --all --rotate i got no errors.

When I do search "Test" Sphinx seems to work.

When I enable the Extension in the LocalSettings.php with

$wgSearchType = 'SphinxMWSearch';require_once
"$IP/extensions/SphinxSearch/SphinxSearch.php";

the search doesn´t find anythin!

What can I do to check the communication between the wiki and the search engine?

1 个答案:

答案 0 :(得分:1)

我查看了使用sudo searchd stop的守护进程的troubleshooting page并使用

启动守护进程
sudo searchd --console --pidfile

然后控制台告诉我客户端版本为1.30,服务器版本为1.25

要获得正确版本的客户端,我执行了以下descriped here

现在有效!