Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Both the wiki and the official documentation are missing the indirect "join" fetch possible via include_docs when the view emits another doc's _id e.g. http://stackoverflow.com/a/6059447/179583, http://stackoverflow.com/a/3035522/179583, http://stackoverflow.com/a/2683228/179583 — apparently this was only in the release notes and/or on the Couchbase blog at one time.
Also the official documentation is missing a complete explanation of this note in the wiki:
"If you want to alleviate [stale view vs database inconsistency] concerns you should emit an object with a _rev attribute as in emit(key,
{"_rev": doc._rev})." — http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options
Will this cause the old rev to be fetched? What if it's no longer available?