From couchdb-user-return-1192-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Wed Sep 03 11:44:59 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 36100 invoked from network); 3 Sep 2008 11:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 11:44:59 -0000 Received: (qmail 76415 invoked by uid 500); 3 Sep 2008 11:44:56 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 76380 invoked by uid 500); 3 Sep 2008 11:44:56 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 76368 invoked by uid 99); 3 Sep 2008 11:44:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 04:44:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of chrisfarms@oxdi.eu) Received: from [74.125.78.146] (HELO ey-out-1920.google.com) (74.125.78.146) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 11:43:57 +0000 Received: by ey-out-1920.google.com with SMTP id 4so1459473eyg.54 for ; Wed, 03 Sep 2008 04:44:09 -0700 (PDT) Received: by 10.210.36.8 with SMTP id j8mr9925190ebj.168.1220441646936; Wed, 03 Sep 2008 04:34:06 -0700 (PDT) Received: from ?10.0.1.2? ( [86.7.236.171]) by mx.google.com with ESMTPS id i6sm18398943gve.2.2008.09.03.04.34.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Sep 2008 04:34:06 -0700 (PDT) Message-Id: <8E4BBF90-56DF-4E58-8FFB-DAF5EF334028@oxdi.eu> From: Chris Farmiloe To: couchdb-user@incubator.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Subject: extra information in design documents Date: Wed, 3 Sep 2008 12:34:04 +0100 X-Mailer: Apple Mail (2.928.1) X-Virus-Checked: Checked by ClamAV on apache.org firstly: Hello list! secondly: I'm toying with some ideas using couchdb... and keep finding myself with a design-document for holding views and another documents describing something about by document "type". for example: I might have a validation-document for all my documents I have with 'type=note', it may contain a js function to run that will declare something as valid/invalid. I would then also have a design-document for my documents of 'type=note', containing my various map/reduces related to these docs. so... Could I store other fields on _design documents? using the example above: placing my "validation" function into the design doc. If not recommended, are others doing anything similar? Regards Chris Farmiloe