You shouldn't be getting multiple instances of the same record back in a search... unless you're using STI, as that's still not perfect yet.
If you want to ensure one record for each value of a given attribute, then you'll need to group the results. http://freelancing-god.github.com/ts/en/searching.html (see the last section) -- Pat On 03/08/2009, at 8:15 PM, Pierre Valade wrote: > > Hello, > > Is there a way to select only distinct results from a Sphinx search, > as that is possible with mysql ? > > Thanks, > Pierre > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
