Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 0.8.0
-
Fix Version/s: 0.10.0
-
Component/s: None
-
Security Level: Public
-
Labels:None
Description
Currently, the include_docs=true parameter pulls in content over HTTP. It's less optimized and less performant than pulling the same content via a get_multi() request.
However, get_multi() is currently broken over the binary protocol.
This commit shows some progress on the API design:
http://review.couchbase.org/#/c/20349/
That would allow the developer to make a request like:
users = cb['default']['_design/game']['users_by_points'].results().docs()
and get back the content of each user's document, regardless of it being a JSON doc or not.
Currently, that code is broken and the implementation is knowingly bad due to having to work around the current lack of .get_multi() on CouchbaseClient and the brokenness of .get_multi() on the MemcachedClient. The current code in that commit returns only the last document requested in the list of results.
However, get_multi() is currently broken over the binary protocol.
This commit shows some progress on the API design:
http://review.couchbase.org/#/c/20349/
That would allow the developer to make a request like:
users = cb['default']['_design/game']['users_by_points'].results().docs()
and get back the content of each user's document, regardless of it being a JSON doc or not.
Currently, that code is broken and the implementation is knowingly bad due to having to work around the current lack of .get_multi() on CouchbaseClient and the brokenness of .get_multi() on the MemcachedClient. The current code in that commit returns only the last document requested in the list of results.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Matt Ingenthron
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Matt Ingenthron [ ingenthr ] |
Matt Ingenthron
made changes -
| Assignee | Matt Ingenthron [ ingenthr ] | Mark Nunberg [ mnunberg ] |
Mark Nunberg
made changes -
| Fix Version/s | 0.10.0 [ 10607 ] | |
| Fix Version/s | 0.9.0 [ 10373 ] |
Mark Nunberg
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |