Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89665 invoked from network); 11 Nov 2009 08:18:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Nov 2009 08:18:56 -0000 Received: (qmail 6255 invoked by uid 500); 11 Nov 2009 08:18:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 6173 invoked by uid 500); 11 Nov 2009 08:18:55 -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 6163 invoked by uid 99); 11 Nov 2009 08:18:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 08:18:55 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of b.candler@pobox.com designates 208.72.237.25 as permitted sender) Received: from [208.72.237.25] (HELO sasl.smtp.pobox.com) (208.72.237.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 08:18:51 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 978047C9E3; Wed, 11 Nov 2009 03:18:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=sasl; bh=Z13EuhRdBaREr WzEWSU7tgi95a0=; b=kC2M6s+IkmITc5wwnS5cqxh/NRtPrwC6mBxEWxg9nRLLb 4id4BNznA6Z5Ff8ewv1JJ6iQA7dMXImItVxhzUmHPqSH7Xcr7AUvhqrBsiIKyBg9 iMo568OKnNw4RS3dfNMo2kSNri+PndGt95ifWmdSjlAUoojqUepbkbq2pwgzVo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; q=dns; s=sasl; b=SkwPrgb xxXIl7LYM9+OO2mFEwPPdKTvvXx+MFmKMxoJe7XKqxhR9ItiiaymsQ/Sh3Pd33jR 1ox+xljsoW0N4iSH8U+smMk4DOw7M2WAv7lzZ1zLW4TjH/14QjOs/2LrdIrqZp4A LYEFt2AUylwoSE5zr8QsT++LgDyaFz2jv+9k= Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 729D17C9E1; Wed, 11 Nov 2009 03:18:29 -0500 (EST) Received: from mappit (unknown [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id E5D267C9E0; Wed, 11 Nov 2009 03:18:27 -0500 (EST) Received: from brian by mappit with local (Exim 4.69) (envelope-from ) id 1N88PK-00021v-Cx; Wed, 11 Nov 2009 08:18:26 +0000 Date: Wed, 11 Nov 2009 08:18:26 +0000 From: Brian Candler To: Chris Stockton Cc: user@couchdb.apache.org Subject: Re: In regards to naming of design documents Message-ID: <20091111081826.GB6672@uk.tiscali.com> Mail-Followup-To: Chris Stockton , user@couchdb.apache.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Pobox-Relay-ID: CB018FDC-CE9A-11DE-A8F9-7B3EEE7EF46B-28021239!a-pb-sasl-quonix.pobox.com Content-Transfer-Encoding: quoted-printable On Tue, Nov 10, 2009 at 05:06:14PM -0700, Chris Stockton wrote: > We are deciding our convention for how we will emulate tables in couch > db. Our current idea is the user named tables will each have a design > document with punycode names. "table=C5=88ame" is a design doc stored a= s -> > I.E. _design/tableame-uqb. Of course this brings up a collision > problem for our system defined design docs, such as lucene etc. Possible solution: if your emulation layer is called "tablefoo", then hav= e _design/tablefoo_ or _design/tfuser_=20 Remember you don't *have* to have separate design docs per table - you ca= n have multiple views within the same design doc, and the user doc will onl= y be serialized once to the view server to build all those views.