You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Carey (JIRA)" <ji...@apache.org> on 2008/10/20 14:01:46 UTC

[jira] Created: (COUCHDB-139) group=true must be passed to a query that submits a keys array when reduce=false

group=true must be passed to a query that submits a keys array when reduce=false
--------------------------------------------------------------------------------

                 Key: COUCHDB-139
                 URL: https://issues.apache.org/jira/browse/COUCHDB-139
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 0.9
            Reporter: Paul Carey
            Priority: Minor


If a query is made against a view passing reduce=false as a query param and setting keys as a post param, the following error messages is returned.

{"error":"query_parse_error","reason":"Multi-key fetches for a reduce view must include group=true"}

I believe that setting reduce=false should obviate the need to set group=true

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


[jira] Resolved: (COUCHDB-139) group=true must be passed to a query that submits a keys array when reduce=false

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Anderson resolved COUCHDB-139.
------------------------------------

    Resolution: Fixed

fixed in 706744

> group=true must be passed to a query that submits a keys array when reduce=false
> --------------------------------------------------------------------------------
>
>                 Key: COUCHDB-139
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-139
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.9
>            Reporter: Paul Carey
>            Priority: Minor
>         Attachments: couch_tests.js.view_multi_key_design.diff
>
>
> If a query is made against a view passing reduce=false as a query param and setting keys as a post param, the following error messages is returned.
> {"error":"query_parse_error","reason":"Multi-key fetches for a reduce view must include group=true"}
> I believe that setting reduce=false should obviate the need to set group=true

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


[jira] Updated: (COUCHDB-139) group=true must be passed to a query that submits a keys array when reduce=false

Posted by "Paul Carey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Carey updated COUCHDB-139:
-------------------------------

    Attachment: couch_tests.js.view_multi_key_design.diff

Test attached

> group=true must be passed to a query that submits a keys array when reduce=false
> --------------------------------------------------------------------------------
>
>                 Key: COUCHDB-139
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-139
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.9
>            Reporter: Paul Carey
>            Priority: Minor
>         Attachments: couch_tests.js.view_multi_key_design.diff
>
>
> If a query is made against a view passing reduce=false as a query param and setting keys as a post param, the following error messages is returned.
> {"error":"query_parse_error","reason":"Multi-key fetches for a reduce view must include group=true"}
> I believe that setting reduce=false should obviate the need to set group=true

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