After over a year of on-and-off tweaks and updates, I have finally released version 0.7 of SphinxSearch Extension for MediaWiki. There are several new options, support for latest version of sphinx, initial support for MW search API, and the extension now follows the usual MW conventions for localizations, autoload, etc.
In the Sphinx Search 0.7 in SphinxSearch_body.php, comment out the following code, the perfect realization of Chinese search, very grateful to the help of Svemir Brkic
$entry = join(”,
preg_split(‘/(\S{60})/’,
$entry,
-1,
PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE
)
);
Hi,
Just got your plugin installed and it is great! One issue I’m having is this: When I use the MW search API, my query is this: $mwAPIpath.’api.php?action=query&list=search&format=xml&srsearch=’.$_REQUEST[“s”]
It works, however it only returns the namespace and the title. Before I would use a generator and it got properties such as a text excerpt and so forth, however now when I use the generator is uses the old search engine. Do you have any suggestions?
Bradford
What version of the extension did you install? The one in SourceForge is a bit old – there is a newer release on MediaWiki website.