[ 
https://issues.apache.org/jira/browse/COUCHDB-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906804#action_12906804
 ] 

Dirkjan Ochtman commented on COUCHDB-880:
-----------------------------------------

damjan in IRC pointed out that this might be because you need to specify a 
full-length key (e.g. the map-level key, not the reduced one). If so, this 
should be documented (in the wiki, for example).

> key param doesn't work with reducing views
> ------------------------------------------
>
>                 Key: COUCHDB-880
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-880
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.0.1
>            Reporter: Dirkjan Ochtman
>             Fix For: 1.0.2
>
>
> I have a reducing view which has date-based keys (["2010"] or ["2010", "09"] 
> or ["2010", "09", "07"]).
> reduce=true&group_level=2&startkey=["2010","09"]&limit=1 gives me 
> {"rows":[{"key":["2010","09"],"value":{...}]}.
> reduce=true&group_level=2&key=["2010", "09"] gives me {"rows":[]}.
> This seems wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to