Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 64209 invoked from network); 9 Nov 2008 21:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 21:51:35 -0000 Received: (qmail 20637 invoked by uid 500); 9 Nov 2008 21:51:42 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 20601 invoked by uid 500); 9 Nov 2008 21:51:42 -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 20590 invoked by uid 99); 9 Nov 2008 21:51:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 13:51:42 -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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 21:50:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4DC7D234C28C for ; Sun, 9 Nov 2008 13:50:44 -0800 (PST) Message-ID: <1770833182.1226267444317.JavaMail.jira@brutus> Date: Sun, 9 Nov 2008 13:50:44 -0800 (PST) From: "Paul Joseph Davis (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Updated: (COUCHDB-158) User definable sort directions In-Reply-To: <1625516992.1226267444211.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Joseph Davis updated COUCHDB-158: -------------------------------------- Attachment: user_sort.patch The patch > User definable sort directions > ------------------------------ > > Key: COUCHDB-158 > URL: https://issues.apache.org/jira/browse/COUCHDB-158 > Project: CouchDB > Issue Type: New Feature > Components: Database Core > Environment: Trunk hopefully > Reporter: Paul Joseph Davis > Attachments: user_sort.patch > > > At the request of arachnid on IRC here is the implemented user definable sort directions. > The patch allows for views that emit keys as arrays to sort the view based on the position in the array. > Sorts are specified as an array of boolean values in the view definition. Temporary views can also post a sort array with the view definition. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.