Say I have something like:
class MyModel < ActiveRecord::Base
has_many :users, :through => :permissions
define_index do
indexes users(:id), :as => user_ids
end
How do I search for a user id using extended query syntax?
MyModel.search "@user_ids 33", for example, doesn't work.
Thanks,
Christopher
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---