I am in the process of moving from a local searchd process (on same
box as the Rails app) to its own machine.
I have Sphinx 2.0.1-beta running on the new box and can query it via
SphinxQL from the Rails box.
However, when I update sphinx.yml "address" and "port" to point to the
sphinx box and then attempt to issue queries I get:
NameError: uninitialized constant Riddle::Client::TcpSocket
I looked in the Riddle gem and in $RIDDLE_GEM/lib/client.rb -
request() line 643
I see this line:
break if part.length == 0 && socket.is_a?(TcpSocket)
I think this is supposed to be "TCPSocket" which is part of the Ruby
standard lib (?)
When I add
require 'socket'
and change that line to
break if part.length == 0 && socket.is_a?(TCPSocket)
And then try a search I get
Riddle::ResponseError: No response from searchd (status: 2610,
version: 11824)
Like I said, I *am* able to connect to my Sphinx box via telnet or the
mysql command line and issue straight SphinxQL queries - so the box is
available on the network and accessible.
On top of this: whats the deal with the TcpSocket => TCPSocket stuff?
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.