[ 
https://issues.apache.org/jira/browse/COUCHDB-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060097#comment-14060097
 ] 

ASF subversion and git services commented on COUCHDB-523:
---------------------------------------------------------

Commit 4e0f29577c21fb6249fecbfe9f20a46b90f6ae3b in couchdb-couch-mrview's 
branch refs/heads/1994-merge-rcouch from [~benoitc]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-mrview.git;h=4e0f295 ]

add multi view queries support

This changes implement COUCHDB-523 with support of the multiview query
for the view changes and the replication using a view.

You can pass multiple queries to a view using the following format:

{"queries": [
   { "startkey": "a", "endkey": "c" },

   ....
]}


> View API POST keys to retrieve multiple docs by key could also allow for 
> multiple 'range' queries, i.e. an array of { startkey: .., endkey: ... } 
> params in the POST
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-523
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-523
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Nathan Stott
>            Assignee: Russell Branca
>            Priority: Minor
>         Attachments: couch_httpd_view.erl, multi_start_end_key.diff, 
> ranged_key_post.diff
>
>
> It would be useful if I could do a single POST to a view to retrieve multiple 
> ranges specified by startkey, endkey.
> The format could be as follows:
> { "ranges": [ { "startkey": "a", "endkey": "c" }, { "startkey":"g", 
> "endkey":"z" } ] }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to