Thanks for the clarification.

Should we skip searching with attachment cause it seems like a hassle, and 
maybe wait for a feature that covers this from you guys? 

Regards CouchbaseLover



Den lördagen den 7:e juni 2014 kl. 00:22:19 UTC+2 skrev Jens Alfke:
>
>
> On Jun 4, 2014, at 12:14 AM, CouchbaseLover <[email protected] 
> <javascript:>> wrote:
>
> 1. The attachment linked to a document is in another document within the 
> database. (100%)
> 2. The shadowing bucket does not receive the attachment documents but only 
> the documents that has a link to the attachment documents. (50%)
>
>
> Right.
>
> 3. You simply can't search and get attachments cause the attachment 
> filesystem is not reachable within the Couchbase SDK even though we search 
> in the non shadowing bucket(the bucket Couchbase Lite talks to) (10 %)
>
>
> I don’t know what you mean by “attachment filesystem”. The gateway doesn’t 
> store attachments in the filesystem; they’re just extra docs in the bucket. 
> The document ID starts with “_sync:att:” and is followed by the SHA-1 
> digest of the attachment data. (Ordinarily you shouldn’t mess with the docs 
> in the gateway’s private bucket, but I agree that this is one case where 
> you have to, in order to access the attachments directly from Couchbase.)
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/c9c434f4-3470-419c-86d3-91e417fb333f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to