Hi,

I'd like to weigh my search result with a "has_admin" (so that the
objects that have an admin appear higher in the search results without
an admin)

In my Object model, I have:

  has_many :admins,    :class_name   => 'User',
                                  :finder_sql   => ' fancy SQL query
here'

How can I write my define index (and maybe scopes?) to achieve what I
want to build?

Thanks,
Alex

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