Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 47648 invoked from network); 21 Feb 2010 22:33:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2010 22:33:40 -0000 Received: (qmail 83148 invoked by uid 500); 21 Feb 2010 22:33:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 83096 invoked by uid 500); 21 Feb 2010 22:33:37 -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 83051 invoked by uid 99); 21 Feb 2010 22:33:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 22:33:37 +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 barrywark@gmail.com designates 209.85.221.175 as permitted sender) Received: from [209.85.221.175] (HELO mail-qy0-f175.google.com) (209.85.221.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 22:33:26 +0000 Received: by qyk5 with SMTP id 5so1130507qyk.17 for ; Sun, 21 Feb 2010 14:33:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=Rf5bJZQUVtUPfaUI7srodFQZfG9HRz/G0nCQWFPa8S8=; b=AyeHSUyf7d5lsR0PgusQs/D4VPXTzTYnJ0MwKjwCL0WGCZLqJfctq+N3lYOBbNejg4 J3sdczwyJ7kHUhaeUUyMo/yYcxaJvQVr91iq0vBPgF5Ms9BgDJGOobFQgfo6yZJLBJmu lMpdZtZ+VmIPpoX6YWp8TqrQfJBVxSevQ3FQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=RKsF5mRINUlHYYxZHItPBNlCIl05T13rCSWZGtm6zG9VeGr0vWTWAcuNHE1PcSuDqE 0lrxCM/ZXtF9WZ57z42kVN59FMC3vx4rFZ7OoR3Rzs1iQUPPt1k0wOyCpEFLc/Xojnhp d1zl/iO7mhi+O9XfpMCNeYi2L1YxbIfX2nEEY= Received: by 10.224.60.33 with SMTP id n33mr5399467qah.229.1266791585191; Sun, 21 Feb 2010 14:33:05 -0800 (PST) Received: from ?10.76.1.224? ([166.205.136.36]) by mx.google.com with ESMTPS id 22sm2045521qyk.2.2010.02.21.14.33.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Feb 2010 14:33:04 -0800 (PST) References: <56a83cd01002211404k76e50f26kc27342bbccf33b7c@mail.gmail.com> Message-Id: From: Barry Wark To: "user@couchdb.apache.org" In-Reply-To: <56a83cd01002211404k76e50f26kc27342bbccf33b7c@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: Selecting part of a multi-value key Date: Sun, 21 Feb 2010 14:32:58 -0800 Cc: "couchdb-user@apache.org" X-Virus-Checked: Checked by ClamAV on apache.org Is there a reason you can't alos create a view indexed by date then type? Barry On Feb 21, 2010, at 2:04 PM, David Van Couvering wrote: > I have a view that generates a type and a date as a composite key. > This way > the results are sorted by type and then by date. > > I would like to call the view so that I get all rows that match a > given > type, regardless of date. I need them sorted by date. > > Is this possible? I've tried varying syntaxes to no success. I'd > prefer > not to generate separate views for each type, but I'll do that if > that's the > only approach. > > Thanks! > > David > > -- > David W. Van Couvering > > http://www.linkedin.com/in/davidvc > http://davidvancouvering.blogspot.com > http://twitter.com/dcouvering