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 Joseph Davis (JIRA)" <ji...@apache.org> on 2010/10/11 00:26:30 UTC

[jira] Commented: (COUCHDB-914) Improve include_docs to support _id's specified in reduce values.

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

Paul Joseph Davis commented on COUCHDB-914:
-------------------------------------------

Initial pass at a patch:

http://github.com/davisp/couchdb/commit/b165291b6906df13eb63de2be6321b4a3e0ad949

Needs tests.

> Improve include_docs to support _id's specified in reduce values.
> -----------------------------------------------------------------
>
>                 Key: COUCHDB-914
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-914
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Paul Joseph Davis
>
> include_docs currently allows view row values to be of the form {_id: $docid, _rev: $docrev, ....} and will fetch the docid specified by those values. Given this, there's no reason why the same can't be supported in reduce rows now. Previous to the _id in row values, we were exclusively using the docid of the view  which was incompatible with reductions. This new version frees that constraint.

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