couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <>
Subject [jira] [Resolved] (COUCHDB-1766) POSTing to reduce view ignores "reduce":false
Date Tue, 09 Apr 2013 15:18:16 GMT


Robert Newson resolved COUCHDB-1766.

    Resolution: Not A Problem

correct, you can add ?reduce=false on the url with a POST. the post body only takes keys.

> POSTing to reduce view ignores "reduce":false 
> ----------------------------------------------
>                 Key: COUCHDB-1766
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Jean-Pierre Fiset
> It seems that when submitting a query to a view which implements a reduce function, the
"reduce" flag is respected only when the query is submitted using GET. When POST is used,
the reduce function is always called, even if "reduce" flag is reset (false).
> curl --request POST --data '{"reduce":false}' -H "Content-Type: application/json"
> {"rows":[
> {"key":null,"value":[-153.48719900109000491,45.426311019434002958,-75.704355545042005815,71.00484280675300397]}
> ]}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message