couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-914) Improve include_docs to support _id's specified in reduce values.
Date Sun, 10 Oct 2010 22:26:30 GMT

    [ 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.


Mime
View raw message