Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 23106 invoked from network); 18 Jun 2009 21:04:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 21:04:38 -0000 Received: (qmail 9002 invoked by uid 500); 18 Jun 2009 20:53:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 8980 invoked by uid 500); 18 Jun 2009 20:53:00 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 8970 invoked by uid 99); 18 Jun 2009 20:53:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 20:53:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.220.211 as permitted sender) Received: from [209.85.220.211] (HELO mail-fx0-f211.google.com) (209.85.220.211) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 20:52:49 +0000 Received: by fxm7 with SMTP id 7so1765140fxm.11 for ; Thu, 18 Jun 2009 13:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ut+6Ycf+SZtp++qkL7nZ7cgR0slpVg1Dqo0j3457Ofk=; b=jXxQVzfinFkvnmx+9ac+ubVMTpOYhdZmH8HlrUapa1yh8zh8yvggzoOg2o2K0bd+rR FDejlL2HelPCyI8TQ2enyEAk9Rw68giQ5A5XAgulRJknk41fpNUPSCYcRoirVF7FYqrN 81tYVtpk078fCaKtjbITuRD4lZsjL6+eILnjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=afK1iNX//+T71zQ4bTB1WlC6bY1dAq4GOCvkiIKwMw5uqAPtjuhPLRqjdUOnzKSM56 2exHei98wM9IizdXhZTZLPOqsgPtctc5KMvIlf9uZZ03fd15/6qLLQ1yoeKltLR86IgR kSNsATc7yU7Eoh044qtclbFYE0TWT44OTrbsY= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.204.31.204 with SMTP id z12mr1732035bkc.80.1245358349173; Thu, 18 Jun 2009 13:52:29 -0700 (PDT) In-Reply-To: <92356a130906171639q3852c184y44fb0bfd95276ed9@mail.gmail.com> References: <26650b020906171546s52464e87u4e14e4de2fabf961@mail.gmail.com> <92356a130906171558t4a17a2d7jc573863e146beff6@mail.gmail.com> <26650b020906171604h15798a9dr86239a6c9be90290@mail.gmail.com> <92356a130906171639q3852c184y44fb0bfd95276ed9@mail.gmail.com> Date: Thu, 18 Jun 2009 13:52:29 -0700 X-Google-Sender-Auth: 608274d41e791c99 Message-ID: Subject: Re: startkey/endkey and descending=true From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Jun 17, 2009 at 4:39 PM, Blair Nilsson wrote: > but if we use > group=true&descending=true&startkey=["Mark",4]&endkey=["Mark",4,{}] > > we get > {"rows":[]} > It would be fairly easy to throw an error when the startkey is after the endkey (eg it's impossible that there could be query result rows) and it would make this a lot easier for users to debug. I'll add a jira ticket. Chris -- Chris Anderson http://jchrisa.net http://couch.io