anchor.diff:      get_value/3
   ]).
   
  +design_doc_view(Req, #db{name=BucketName} = Db, DesignName, ViewName, VBuckets) ->
  +    DDocId = <<"_design/", DesignName/binary>>,
  +    Specs = build_local_specs(BucketName, DDocId, ViewName, VBuckets),
  +    MergeParams = view_merge_params(Req, Db, DDocId, ViewName, Specs),
  +    couch_view_merger:query_view(Req, MergeParams).
  +
   design_doc_view(Req, Db, DesignName, ViewName) ->
       DDocId = <<"_design/", DesignName/binary>>,
       MergeParams = view_merge_params(Req, Db, DDocId, ViewName),
  
positive.code:     NodeToVBuckets.
  
  
  view_merge_params(Req, #db{name = BucketName}, DDocId, ViewName) ->
      NodeToVBuckets = node_vbuckets_dict(?b2l(BucketName)),
      Config = ns_config:get(),
      FullViewName = case DDocId of
  
negative.code:                 andalso capi_frontend:run_on_subset(Name) of
                  true ->
                      VBucket = capi_frontend:first_vbucket(Name),
                      design_doc_view(Req, Db, DName, ViewName, [VBucket]);
                  false ->
                      design_doc_view(Req, Db, DName, ViewName)
              end;
  