Yeah, I don't know of other people using it either... you essentially need a single primary key column, which is then used by Thinking Sphinx to create a unique integer id across the system. So, if there's an integer column that is unique for each indexed model table, then your fine. Otherwise, I'm afraid you're out of luck - but feel free to fork and try and figure out a solution that works for you.
Cheers -- Pat On 09/07/2009, at 9:48 AM, James Healy wrote: > > mariek wrote: >> Anybody has experience with using ckp + sphinx on one model ? >> can I set somehow composite key in define_index ? > > I not 100%, but I'm fairly sure TS won't work with composite primary > keys. Sphinx works by returning numeric IDs that match the search, and > TS converts those IDs into objects. > > -- James Healy <jimmy-at-deefa-dot-com> Thu, 09 Jul 2009 23:46:32 > +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 -~----------~----~----~----~------~----~------~--~---
