Hi Aaron I think this only happens when Sphinx throws a warning or error, instead of actually returning 0 results. What's the query you're running? (And yes, it should be patched anyway - I think there might be a fork somewhere that fixes this).
-- Pat On 25/11/2009, at 12:22 PM, agibralter wrote: > I'm not too sure what to make of this... has anyone else ever had > trouble with sphinx not explicitly returning "0" results but rather > just returning nil? I can't quite figure out why sphinx is doing it, > but it seems like TS might still want to check for nil in its > total_pages method because it throws undefined method for nil > exceptions. > > https://gist.github.com/e67cd724cf4c58f8f4ed > > -- > > 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.
