incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul jobs" <webjog...@gmail.com>
Subject Re: clustering based on 2 columns
Date Mon, 22 Dec 2008 04:29:10 GMT
this doesnt work
/invites/_view/invites/bydate?count=100&group=true&key=[%222008-12-21%22]

{"rows":[]}



On 12/21/08, Antony Blakey <antony.blakey@gmail.com> wrote:
>
>
> On 22/12/2008, at 2:39 PM, paul jobs wrote:
>
>  antony this doesnt help
>> Key
>> Value  *"2008-12-20"*17854*"2008-12-21"*114536
>> i get this result when i give your map-reduce view, it doesnt collate by
>> appnames after collating by date
>>
>
> I thought you were reducing over all appnames.
>
> map:    function(doc) { emit([doc.date, doc.appname], doc.count) }
> query:  ...?group=true&key=["2008-12-21"]
>
> Antony Blakey
> -------------
> CTO, Linkuistics Pty Ltd
> Ph: 0438 840 787
>
> He who would make his own liberty secure, must guard even his enemy from
> repression.
>  -- Thomas Paine
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message