On Mon, Jul 2, 2012 at 11:12 PM, João Ramos wrote:
> Now my problem is that I also want to filter by date, for example
You actually want 2 unrelated ways of querying your data; the only
thing I can see is that you use 2 different views, one for each of
your query.
--
Matthieu RAKOTOJAONA
I personally store dates by standard ms number and take the trouble to
figure out the startkey and endkey. Standard date functions can easily let
you pick a particular year, mon, day, or any other range.
On Mon, Jul 2, 2012 at 2:12 PM, João Ramos wrote :
> Hi,
>
> I have a map function that emi
Hi,
I have a map function that emits these keys:
[doc.type, 2012, 2, 14]
[doc.type, 2012, 2, 14]
[doc.type, 2012, 4, 22]
[doc.type, 2012, 5, 23]
This works great because I can get exactly what I want (ajusting the
group_level accordingly): for each doc type, how many exist each da