[ 
https://issues.apache.org/jira/browse/COUCHDB-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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.

http://wiki.apache.org/couchdb/HTTP_view_API#Access.2BAC8-Query

                
> POSTing to reduce view ignores "reduce":false 
> ----------------------------------------------
>
>                 Key: COUCHDB-1766
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1766
>             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" http://127.0.0.1:5984/demo/_design/atlas/_view/xxx
> {"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: http://www.atlassian.com/software/jira

Reply via email to