On Wed, Jan 7, 2009 at 3:07 PM, Jeremy Wall <jw...@google.com> wrote: > > Maybe someone else could chime in on when you get the hit for reduction? >
Based on my use of log() in the reduce function, it looks like for each reduce query, the reduce function is run once, to obtain the final reduce value. When you run a group=true, or group_level reduce query, which returns values for many keys, you'll end up running the final reduction once per returned value. I think this could be optimized to avoid running final reduces if they've already been run for those key-ranges. I'm not sure how much work that would be. -- Chris Anderson http://jchris.mfdz.com