Configure Sphinx connection (Socket vs TCP)
developThinking Sphinx supports connecting to Sphinx via a Unix socket or via TCP. The connection type is determined by the presence of the socket setting in your configuration.
- Socket Connection: If
socketis present in your settings, Thinking Sphinx configuressearchd.socketusing the format#{socket}:mysql41. - TCP Connection: If
socketis absent, it uses TCP settings. You can specifyaddress,port, ormysql41(which acts as a fallback for the port).