Needs review
Project:
Sphinx (Sphinx search integration)
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Aug 2009 at 12:34 UTC
Updated:
3 Jun 2010 at 19:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
johannesdr commentedI created a patch that will make sphinx use the default_server and default_port set in admin/settings/sphinx instead of the default localhost and 3312.
Comment #2
johsw commentedCould you explain, what the patch does?
Comment #3
johannesdr commentedEvery time the sphinx module checks to see if the sphinx deamon is online it uses
$connect = $client->_Connect();
This uses the connect function from the sphinx php api. And when no server is specified it uses localhost and the standard port.
Even if you have filled in a server and port in the sphinx administration page it will still use localhost.
We had our sphinx deamon on a different server so we allways got the message: Searchd not running.
What we did is replace
with
So now it will first get the variables entered in the administration page. If these are not set it will use the default localhost and 3312 port.
Comment #4
nestor.mata commentedThis also happens on version 6.x.
This is fixed in version 6.x-1.2.
~Nestor