Okay, Riddle 1.3.2 is out, along with Thinking Sphinx 2.0.4 (Rails 3) and 1.4.5 
(Rails 1 & 2). Let me know if you hit any further problems.

-- 
Pat

On 12/05/2011, at 6:05 PM, Pat Allan wrote:

> Hi Curtis
> 
> Currently edge TS only works with edge Riddle - so above your TS requirement 
> in your Gemfile, add Riddle as well:
> 
>  gem 'riddle',
>     :git => 'git://github.com/freelancing-god/riddle.git',
>     :branch => 'master'
> 
> That said, I'll be pushing out new gem releases of TS and Riddle within the 
> next few hours today.
> 
> Cheers
> 
> -- 
> Pat
> 
> On 12/05/2011, at 6:00 PM, curtis wrote:
> 
>> I'm getting the following error anytime I try to run a search:
>> 
>> [stacktrace]
>> Riddle::ResponseError: searchd error (status: 1): bad multi-query
>> count 0 (must be in 1..32 range)
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/riddle-1.3.1/lib/
>> riddle/client.rb:651:in `request'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/riddle-1.3.1/lib/
>> riddle/client.rb:226:in `run'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/riddle-1.3.1/lib/
>> riddle/client.rb:333:in `query'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:397:in `block (2
>> levels) in populate'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.7/
>> lib/active_support/notifications.rb:52:in `block in instrument'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.7/
>> lib/active_support/notifications/instrumenter.rb:21:in `instrument'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.7/
>> lib/active_support/notifications.rb:52:in `instrument'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:498:in `log'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:507:in `log'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:396:in `block in
>> populate'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:548:in `call'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:548:in
>> `retry_on_stale_index'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:394:in `populate'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/bundler/gems/thinking-
>> sphinx-86c85a765b3a/lib/thinking_sphinx/search.rb:176:in
>> `method_missing'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.7/lib/
>> rails/commands/console.rb:44:in `start'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.7/lib/
>> rails/commands/console.rb:8:in `start'
>>      from /home/curtis/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.7/lib/
>> rails/commands.rb:23:in `<top (required)>'
>>      from script/rails:6:in `require'
>> [/stacktrace]
>> 
>> This is using ThinkingSphinx 2.0.3, Riddle 1.3.1, Sphinx 2.0.1-beta,
>> Rails 3.0.7, MySQL 5.1.41 (or 5.5.9).
>> 
>> Everything seems to index ok:
>> 
>> [rake ts:index]
>> using config file '/home/chatter/Development/tax/config/
>> development.sphinx.conf'...
>> indexing index 'docket_core'...
>> collected 1 docs, 0.0 MB
>> sorted 0.0 Mhits, 100.0% done
>> total 1 docs, 173 bytes
>> total 0.006 sec, 25028 bytes/sec, 144.67 docs/sec
>> skipping non-plain index 'docket'...
>> total 3 reads, 0.000 sec, 0.8 kb/call avg, 0.0 msec/call avg
>> total 9 writes, 0.000 sec, 0.7 kb/call avg, 0.0 msec/call avg
>> rotating indices: succesfully sent SIGHUP to searchd (pid=13923).
>> [/rake ts:index]
>> 
>> I have one model defined with an index:
>> 
>> [model index definition]
>> define_index do
>> indexes parties
>> indexes content
>> end
>> [/model index definition]
>> 
>> I'll try to run something as simple as: @ThinkingSphinx.search
>> 'indiana'@ and I get the above stacktrace.
>> 
>> In case it matters I installed ThinkingSphinx using the following in
>> my Gemfile:
>> 
>> [gemfile]
>> gem 'thinking-sphinx', '2.0.3',
>>   :git => 'git://github.com/freelancing-god/thinking-sphinx.git',
>>   :branch => 'rails3'
>> [/gemfile]
>> 
>> Thanks,
>> Curtis
>> 
>> -- 
>> 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.
>> 
> 
> -- 
> 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.
> 

-- 
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