On Jun 4, 2014, at 12:14 AM, CouchbaseLover <[email protected]> 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/E6020B6E-8F27-402B-B10D-0D1449754743%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to