Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 96363 invoked from network); 4 Jan 2009 01:08:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2009 01:08:15 -0000 Received: (qmail 88391 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 88366 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 88357 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 88354 invoked by uid 99); 4 Jan 2009 01:08:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:08:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 01:08:12 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D24F71115B for ; Sun, 4 Jan 2009 01:07:51 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: couchdb-commits@incubator.apache.org Date: Sun, 04 Jan 2009 01:07:51 -0000 Message-ID: <20090104010751.6385.23047@eos.apache.org> Subject: [Couchdb Wiki] Update of "HTTP view API" by ChrisAnderson X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by ChrisAnderson: http://wiki.apache.org/couchdb/HTTP_view_API The comment on the change is: change temp_view to slow_view ------------------------------------------------------------------------------ == Temporary Views == - One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_temp_view''. Temporary views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions). + One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_slow_view''. Temporary views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions). {{{ - POST /some_database/_temp_view HTTP/1.0 + POST /some_database/_slow_view HTTP/1.0 Content-Length: 48 Date: Mon, 10 Sep 2007 17:11:10 +0200 Content-Type: application/json