Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FF401076C for ; Sun, 10 Nov 2013 15:06:14 +0000 (UTC) Received: (qmail 91458 invoked by uid 500); 10 Nov 2013 15:06:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 91424 invoked by uid 500); 10 Nov 2013 15:06:02 -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 91416 invoked by uid 99); 10 Nov 2013 15:06:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 15:06:01 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hknight555@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 15:05:56 +0000 Received: by mail-wi0-f175.google.com with SMTP id hm11so1172760wib.8 for ; Sun, 10 Nov 2013 07:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kxkG2wu1Ne+7BoqUEsNsROEMp8Z8bjNRFX6rL/COyPg=; b=IE49VUYkcolFT/9DuJBS9ymatlupFDNd4a9jASjbyYLviSracZ+UsvXKH/m8JSgbCb 7CC8WVloRSKg2U4J3+DN7lq6ncj9rooa+FzUwSSBNFL6zNhMLh21PdqGTF8G+Izw5Cw0 kFWX7SmbpBMya3bAZA3EcgPec2P23o5QvDTgQ6IWFJUJaijQtTKY5fEbz1iyXPQ9W86x /BJmX9zIV43Ts53rDPofrE0mD0Bh8g5DdLt9GVDwICLiyK69+yE4BZWkxWQG97/HZR3T IqCutpESU8DEtKzNxhggsBpdCe9onY+iIv38Ctz3+99p1Urj1ls2sjKYu/XZOJ/G1t5l jEPw== MIME-Version: 1.0 X-Received: by 10.195.13.164 with SMTP id ez4mr19436228wjd.11.1384095935585; Sun, 10 Nov 2013 07:05:35 -0800 (PST) Received: by 10.217.45.199 with HTTP; Sun, 10 Nov 2013 07:05:35 -0800 (PST) Date: Sun, 10 Nov 2013 11:05:35 -0400 Message-ID: Subject: CouchDB: Can a hierarchical URL structure be accomplished with unique documents? From: Hank Knight To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I understand that it is inefficient to associate all attachment with a single document when creating a couchapp. These three attachments are all associated with the same document, a document with the _id of "www": https://zuhqtr5.couchappy.com/site/www/qqq/hello.txt https://zuhqtr5.couchappy.com/site/www/qqq/world.txt https://zuhqtr5.couchappy.com/site/www/qqq/example.txt Is there a way to make these attachments available via the same URL but with each one belonging to an independent document, or must I maintain a total flat URL structure to allow for multiple files to each be associated with a unique document?