Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 82613 invoked from network); 26 Feb 2009 12:09:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 12:09:24 -0000 Received: (qmail 40319 invoked by uid 500); 26 Feb 2009 12:09:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 40280 invoked by uid 500); 26 Feb 2009 12:09:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 40269 invoked by uid 99); 26 Feb 2009 12:09:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 04:09:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dionne@dionne-associates.com designates 69.89.17.207 as permitted sender) Received: from [69.89.17.207] (HELO outbound-mail-07.bluehost.com) (69.89.17.207) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Feb 2009 12:09:14 +0000 Received: (qmail 13119 invoked by uid 0); 26 Feb 2009 12:07:36 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by outboundproxy1.bluehost.com with SMTP; 26 Feb 2009 12:07:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=dionne-associates.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer:X-Identified-User; b=0QuGFH1SH0dezqI6HHiM8BwePsG2iwIESlwknVUZaZByk1Tmx5avsMOhNXheiyoDHe4V5+ocoD1fTFJY/NmvxWuVF2aEqujz9k7fLY2QIsI3f6YHEwHhEu8f5KYhjy9e; Received: from h-68-164-34-114.nycmny83.dynamic.covad.net ([68.164.34.114] helo=[192.168.2.100]) by host183.hostmonster.com with esmtpa (Exim 4.69) (envelope-from ) id 1Lcf2r-0005BQ-7S for dev@couchdb.apache.org; Thu, 26 Feb 2009 05:08:53 -0700 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <7060483c0902260357x21879aa3paa67a8daa07b29cc@mail.gmail.com> References: <7060483c0902260342g4be3834cudd3e685d275de22c@mail.gmail.com> <0F8D790D-831C-4D1C-9372-BFECF2FDD2AC@apache.org> <7060483c0902260357x21879aa3paa67a8daa07b29cc@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Robert Dionne Subject: Re: REST, Hypermedia, and CouchApps Date: Thu, 26 Feb 2009 07:08:51 -0500 To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.753.1) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 68.164.34.114 authed with dionne@dionne-associates.com} X-Virus-Checked: Checked by ClamAV on apache.org Patrick, I think an meant to say *would*. Views only run within a database. Cheers, Bob On Feb 26, 2009, at 6:57 AM, Patrick Antivackis wrote: > And ? > Once it has runned once, it just takes into account the new docs > > 2009/2/26 Jan Lehnardt > >> >> On 26 Feb 2009, at 12:42, Patrick Antivackis wrote: >> >> >>>> That would certainly lower the number of require requests. I >>>> thought >>>> for a minute about using a temp_view for this, but there is no >>>> way to >>>> restrict them to run on only the design docs, so the overhead >>>> could be >>>> tremendous. I still think it'd be trivial to implement as part of a >>>> view-like response from /db/_design/ >>>> >>>> >>> Why don't you just create a view looking in _design/docs that >>> have either >>> an >>> _attachment like index.html or if the couchapp.index field exist ? >>> >> >> Because a view needs to run through all documents in all databases. >> >> Cheers >> Jan >> -- >> >>