On 22/12/2008, at 9:19 AM, paul jobs wrote:
I want to do what map2 does but only for say "2008-12-21" ie today
how do i get today's statistics?
Split your date into three components and use them as the key e.g.
[doc.appname, doc.date.year, doc.date.month, doc.date.day]
This will allow you to get partial reduce results for just one day, or
month, or year.
Antony Blakey
--------------------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787
Reflecting on W.H. Auden's contemplation of 'necessary murders' in the
Spanish Civil War, George Orwell wrote that such amorality was only
really possible, 'if you are the kind of person who is always
somewhere else when the trigger is pulled'.
-- John Birmingham, "Appeasing Jakarta"