couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Pierre Fiset (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1766) POSTing to reduce view ignores "reduce":false
Date Tue, 09 Apr 2013 15:14:15 GMT
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

Mime
View raw message