Hi Matthew On 28/03/2010, at 3:24 AM, Matthew Beale wrote:
> Is the Riddle client non-blocking? I'm not doing anything special here, so unless Ruby sockets are non-blocking, Riddle isn't. > Also, where can I find the spec data for Riddle? I see instructions to > "check the svn version". That part of the docs obviously need to be updated. If you grab Riddle from GitHub, they'll be part of it, at spec/fixtures/sql. > FYI I had to add "require 'rubygems'" to "spec/sphinx_helper.rb" in > order to get tests running, along with the mysql creation of course: > > mysqladmin -uroot create riddle > echo "grant all on riddle.* to ''@'localhost';"| mysql -uroot I have rubygems included automatically in anything I run from my command-line, so sometimes I'm a little lazy - good catch, I'll update that now. I don't like auto-creating dbs for tests (unless it's SQLite), so creating the db is not going to become automated, sorry. > I'm trying to query Sphinx for ~6 queries and populations > simultaneously. So far I'm stuck with a threading error on Thread#join, > I think it might be a 1.8 bug. That sucks :-) Have any hints for > writing concurrent queries? Hmm, not sure about this... Riddle/Sphinx 0.9.9 does have the ability to queue up queries, but not sure if Sphinx can handle multiple search requests (if you somehow were making concurrent queries)... concurrency is generally beyond my ken, so not sure if I can be of much more help - but feel free to ask more questions as you go, if you get stuck. Cheers -- Pat -- 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.
