I am getting this result when I make a query after having added a
filter. Here's a snippet:

The full call-and-response is here:
http://pastie.org/private/e8wgnqkj380p7kfeavm2a

The relevant excerpt:

>> @client.query("brooklyn")
{:total_found=>76, :status=>0, :matches=>[{:weigh ... ...
>> @client.filters << Riddle::Client::Filter.new("ignorable", false)
>> @client.query("brooklyn")
Riddle::ResponseError: searchd error (status: 1): invalid or truncated
request
        from /var/lib/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:582:in
`request'
        from /var/lib/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:203:in
`run'
        from /var/lib/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:310:in
`query'
        from (irb):5
        from :0


This is using Riddle gem version 1.0.8, and Sphinx 0.9.9-release
(r2117).

It appears to be something breaking down inside Riddle before it has a
chance to pass the query along to searchd, because when I run searchd
in console mode, I can see it log a request for the first query, but I
don't see any request logged for the second query (after the filter
has been added).

thanks,
Cory

--

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.


Reply via email to