Your lines of code from the error don't match up with the latest
version of the client.. although nothing's really changed in Sphinx/
Riddle in the last few months... still, update the code, and if the
issue still happens, send through the new call stack :)
Cheers
--
Pat
Try changing the following lines in client.rb, see if we can get some
sort of error code from Sphinx.
#479
while response && response.length < length
#485
if response.blank? || response.length != length
Sorry there's nothing more concrete.
--
Pat
New to this group, but I came across your posting a bit ago when I hit
this same issue.
After some poking around, I am pretty sure what is happening, is that
you are searching for a word that is less than what is listed in your
sphinx.conf file for this particular indexes min_word_len.
So for me the pattern is like this:
min_word_len = 1
@author johndoe @inventory_code rt
--searches ok...
min_word_len = 2
@author johndoe @inventory_code rt
--searches ok...
min_word_len = 3
@author johndoe @inventory_code rt
--does not search ok..
min_word_len = 3
@author ja
--searches ok, returns basically everything and seems to ignore query,
probably normal
So its a bit odd, but it seems as if you are using extended mode and
attempting to search 2 fields, searchd segfaults. When searchd
segfaults riddle doesnt get anything back, and the version that I have
complains about the Fixnum as you posted. I have applied the error
checking you mention above, and riddle throws a ResponseError but
version/error are totally blank as searchd's thread segfaults.
I will continue to try and debug it more and I guess probably submit a
bug report to sphinx. If anyone else experiencing this issue can
confirm this behaviour that would be cool.
Cheers, and enjoy your weekend.
-Scott Rushforth