Jump to content

Extension talk:SphinxSearch/Search suggestions

Add topic
From mediawiki.org


Enchant isn't an extension but perhaps a application or package. Might also point out that aspell, ruby and rubygems (and gems install elif) is part of the enchant install. --Skunark 06:42, 21 September 2011 (UTC)Reply

Thanks for the clarification. However, the way we use enchant does not require all of that. We are not using it to check English spelling. We are running it against a custom dictionary created out of the words actually in your wiki in order to find suggestions. Perhaps last time I installed it I did not realize I already had everything on my system already, and maybe those additional things are required. I will try installing it on a new system and will update the page with minimum requirements. Svemir Brkic 12:29, 21 September 2011 (UTC)Reply

Devel Version Required?[edit]

Is the "devel" version of enchant needed? --Cwood (talk) 22:05, 28 June 2012 (UTC)Reply

No, devel version is not required. --Svemir Brkic (talk) 23:25, 28 June 2012 (UTC)Reply

Installation walkthrough[edit]

The installation instructions feel a little vague. I downloaded enchant with yast and then ran SphinxSearch_setup.php. I didn't see any dictionaries anywhere, though. Where are they generated? And should the dictionaries be referenced elsewhere after they're generated? I also enabled $wgSphinxSuggestMode = 'enchant' in LocalSettings.php, but it doesn't seem to be doing anything. Can you provide more information about the installation process? Thanks! ----Cwood (talk) 19:54, 19 November 2012 (UTC)Reply

The dictionaries were probably installed in the same directory as the SphinxSearch_setup.php or sphinx.conf (which I would guess is the SphinxSearch extension folder). As for enchant not working you need to also install php-enchant and restart apache (or your web server) to include the installed php-enchant library. Doing that worked for me. --Dmundra (talk) 17:01, 10 December 2012 (UTC)Reply
Thanks so much! I will give that a shot. --Cwood (talk) 17:23, 10 December 2012 (UTC)Reply