You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jean-Pierre Fiset (JIRA)" <ji...@apache.org> on 2013/04/09 17:14:15 UTC
[jira] [Created] (COUCHDB-1766) POSTing to reduce view ignores
"reduce":false
Jean-Pierre Fiset created COUCHDB-1766:
------------------------------------------
Summary: 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