Topic on Extension talk:SphinxSearch

Summary by Svemir Brkic

Documentation has been updated not to suggest the confusing way to test things out.

Jake8 (talkcontribs)

Has anyone been able to successfully use this extension with Sphinx version 2.0.4? I receive the following error when "testing out sphinx" (step 4):

 index 'wiki_main': search error: .

The only explanation I can think of is that perhaps the way the config file sets up the index is no longer compatible with the newer version of Sphinx. Has anyone been able to successfully run Sphinx 2.0.4 with their wiki, or should I downgrade my installation to Sphinx 2.0.3? I appreciate any assistance.

Update: The SphinxSearch extension itself appears to be functional even though queries from the command line are not. Feel free to close/delete this support thread.

MWJames (talkcontribs)

Actually we are using 2.0.4 in production with the latests SphinxSearch 0.8+ and we are using the exact same setup as with. (we haven't changed the configuration neither in case of 2.0.3/2.0.4). I'm not sure from where you get the message testing out sphinx, we have never seen this kind of message coming from Sphinx nor SphinxSearch. --MWJames (talk) 00:43, 6 May 2012 (UTC)

Jake8 (talkcontribs)

Oh no, I meant that I received the error in the code block in my original post when following the instructions under the "test out sphinx" step on the SphinxSearch article. The string "testing out sphinx" was never returned from either system.

As I wrote in my update though, SphinxSearch seems to work perfectly on the wiki itself (through the search daemon) even though it's broken from the command line. I have no idea what's causing this, but I guess it must be unique to my system configuration.

Thanks a lot for your help, and for your work on this excellent extension! :)

WhitBlauvelt (talkcontribs)

That's my experience too. The "search" command line function from 2.0.4 (built from source) and 2.0.5 (both built from source and installed from deb) gives "index 'wiki_main': search error: ." if any search terms at all are entered on the command line. However the "searchd" daemon and the MW extension which relies on that work. So the instructions to use "search" to test the installation currently lead to a dead end. Still, "search" is only a test utility, not meant for use once it's in production.