Hi Josh Sorry for not getting back to you sooner. I think the answer is no - there's nothing I can spot in Sphinx's functions for SUM - so unless you're already indexing the counts for certain timeframes, Sphinx isn't going to be able to do what you're asking. http://sphinxsearch.com/docs/manual-2.0.1.html#expressions
-- Pat On 04/10/2011, at 1:57 AM, Josh wrote: > Bump. Is this question not clear, or is the answer "no"? > > :) > > On Sep 22, 9:17 am, Josh <[email protected]> wrote: >> Org has_many :donations >> >> I want to query on the orgs table, but sort by the number of donations >> it has in a given timeframe. >> >> Can I do that? How? > > -- > 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. > -- 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.
