From user-return-12446-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat Sep 04 13:52:25 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 65089 invoked from network); 4 Sep 2010 13:52:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Sep 2010 13:52:25 -0000 Received: (qmail 64204 invoked by uid 500); 4 Sep 2010 13:52:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 62981 invoked by uid 500); 4 Sep 2010 13:52:20 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 62971 invoked by uid 99); 4 Sep 2010 13:52:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 13:52:19 +0000 X-ASF-Spam-Status: No, hits=4.3 required=10.0 tests=FS_REPLICA,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 13:52:14 +0000 Received: by vws14 with SMTP id 14so4005810vws.11 for ; Sat, 04 Sep 2010 06:51:52 -0700 (PDT) Received: by 10.220.59.5 with SMTP id j5mr1286226vch.90.1283608312496; Sat, 04 Sep 2010 06:51:52 -0700 (PDT) Received: from [10.0.1.4] (24-148-43-89.grn-bsr1.chi-grn.il.cable.rcn.com [24.148.43.89]) by mx.google.com with ESMTPS id x15sm591141vcr.11.2010.09.04.06.51.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Sep 2010 06:51:51 -0700 (PDT) Message-Id: <02904E22-5AFE-4C33-B237-E7C5AFE33E12@connamara.com> From: Kenny Stone To: "user@couchdb.apache.org" In-Reply-To: <4C820516.2060103@cedarsoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: iPad Mail (7B367) Mime-Version: 1.0 (iPad Mail 7B367) Subject: Re: [Newbie] Partial replication Date: Sat, 4 Sep 2010 08:55:58 -0500 References: <4C820516.2060103@cedarsoft.com> Filtered replication http://wiki.apache.org/couchdb/Replication#Filtered_Replication -- Kenny On Sep 4, 2010, at 3:36, Johannes Schneider wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi guys, > > I have started learning CouchDB two days ago. And I really like it. > While I have read a good part of CouchDB The Definitive Guide, I might > have missed the crucial part.. > > At first I wanna say thanks for that great product. The first impression > is impressive... > Second I have a question about attachments and/or replication. > > > Think about that kind of product: > Storage of (large) media files (e.g. raw photos). For each media file > there are a lot of data entries (comments, ratings, discussions...). > And of course there are previews in different sizes. > > Now I'd like to implement a client on Android (based on > http://www.couch.io/android). And I like that idea of replicating the > database to the mobile device. > But of course I just want a part of my database on the Android. > I never want the large raw files. And I don't only need a part of the > previews (those that correspond to the screen size). > > But I also don't want to download the complete database (which might > contain millions of documents). I'd prefer to have some kind of > semi-intelligent algorithm (maybe download the last n entries or > something like that). Or maybe just some documents used for overview > pages (view results). > And of course it should be possible to download the missing documents on > request... > > > Is this possible with CouchDB? If yes, could you give me some > hints/keywords so that I can continue my search... > > > > > Thanks, > > Johannes Schneider > - -- > Johannes Schneider - blog.cedarsoft.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBAgAGBQJMggUSAAoJEAytD9R7Qv6db/8H/AjvnJNl3FSWyHvY5+lJ4Cuf > +Q3Ud/qsSXJPzsh+XJOQBBlgyG0hcIIXVG+G+Kv8tX5MloT/fWGSMVM8nYHPZ9Gj > MHVS16Oc5+WDPp9j+mc3WWV3yYLPz6J6Qfk26RKR8M9Jpu9VrcTWS00PQJSuKE3/ > 4RFBQMCQg5o/hVdEwCzp4V0y07fXyNlhc2cDFEIUyYOi0OWahwej3OasTyvDkPK9 > 5JFB30/A/Nn1SMrgrMvisP1+LyMG5hxphY3X7GjUnHHkQOcZ9H9PPS8GN69MxZ9N > 0w9D79E8ReTrFLy3sic7f4AKwKyhD1/p9mI/tiwJDwjzuYkj1hPimq1j/xMwE1s= > =0eI2 > -----END PGP SIGNATURE-----