--
You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
To post to this group, send email to thinkin...@googlegroups.com.
To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
Maybe Jim's suggestion is the best approach as a quick fix? Cache both the results and the total? Although it won't fix pagination - because WillPaginate expects a bit more information than that...
If you want to debug further, I'd start by seeing what memcached does when you cache an object.
--
Pat
If you don't want the queries lazily evaluated, pass :populate => true in your search request, see if that helps with the caching.
Cheers
--
Pat
--
Pat
Last time I tried to reproduce this, I couldn't get any errors to occur. If you're having it happen regularly (all the time?), then perhaps create a sample application with the minimal setup required to get the error happening - that'd certainly make it easier for me to debug and fix.
Cheers
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/oAM13_vWQ80J.