Maneki Neko wrote: > I have in People in my define_index do line: > indexes clubs[0].name, :as => club_name, :sortable => true
Unfortunately, clubs[0] is not a valid syntax in your index definition. Defining your index is about specifying the database columns needed for your index, not the specific rows. I'm not sure how you'd go about indexing only a single record in a m2m join, sorry. -- James Healy <jimmy-at-deefa-dot-com> Mon, 17 Aug 2009 19:02:17 +1000 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
