Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 55551 invoked from network); 3 Dec 2008 12:47:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 12:47:05 -0000 Received: (qmail 97079 invoked by uid 500); 3 Dec 2008 12:47:16 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 97027 invoked by uid 500); 3 Dec 2008 12:47:16 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 97016 invoked by uid 99); 3 Dec 2008 12:47:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 04:47:16 -0800 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 12:45:47 +0000 Received: from 132.62.11.217.ptr.tiggersystems.info (softdnserr [::ffff:217.11.62.132]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Wed, 03 Dec 2008 12:46:32 +0000 Message-Id: <33A79BD6-857C-4C87-9B97-ABC3573517A0@apache.org> From: Jan Lehnardt To: couchdb-dev@incubator.apache.org In-Reply-To: <20081203115137.GC20406@tumbolia.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: 1.0.0 wishlist/roadmap Date: Wed, 3 Dec 2008 13:46:28 +0100 References: <493671BF.3010202@gmail.com> <20081203115137.GC20406@tumbolia.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On 3 Dec 2008, at 12:51, Noah Slater wrote: > On Wed, Dec 03, 2008 at 10:47:11PM +1100, Volker Mische wrote: >> An additional feature would be that you can return any arbitrary >> JSON to the >> view that will be attached to the resulting document. An example >> would be >> returning a distance between a point specified in the query and a >> geometry in >> a document. > > I'm not sure I understand what it means to attach something to a > JSON document. This is about the protocol that CouchDB talks to external indexers. It is line-based text now, will be line-based JSON with the external2 branch. It currently hardcodes that the document id and a rank is returned, this should be more flexible. Cheers Jan --