Hello, I'm trying to search on multiple db.

I've 2 models:

class WpBlogPost < MasterDatabase
end

class User < ActiveRecord::Base
end

It works if I:

@elements = ThinkingSphinx.search "test", :classes => [WpBlogPost]

and

@elements = ThinkingSphinx.search "test", :classes => [User]

but it's not if I:

@elements = ThinkingSphinx.search "test", :classes =>
[WpBlogPost,User]

result is:

=> [nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
nil, nil, nil, nil, nil, nil, nil]

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