Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C92A668B for ; Thu, 4 Aug 2011 14:23:36 +0000 (UTC) Received: (qmail 32636 invoked by uid 500); 4 Aug 2011 14:23:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 32580 invoked by uid 500); 4 Aug 2011 14:23:33 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 32572 invoked by uid 99); 4 Aug 2011 14:23:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 14:23:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jason.rutherglen@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 14:23:26 +0000 Received: by vxi40 with SMTP id 40so1844984vxi.31 for ; Thu, 04 Aug 2011 07:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9HsMzLE3DWW+94it7wPl+0XNGJZcwHP7P8CvWCYppMQ=; b=Lbk8UhVuuoFCKs4sbJuHt71uxI0RsN/uTo8uwofHzj2ogDu8WFOlgIqdFFtVpa27oB g3vyNzRi67g8Vs6eJalgHw0Pxx3GgdYzLg92/gBYjCxXJxflwZh2sPy6bYgTpLluixUu T71owCwuTgIGToGKaJ+WfULgySjP75UWWH3jI= MIME-Version: 1.0 Received: by 10.52.95.198 with SMTP id dm6mr928574vdb.224.1312467786121; Thu, 04 Aug 2011 07:23:06 -0700 (PDT) Received: by 10.52.110.196 with HTTP; Thu, 4 Aug 2011 07:23:06 -0700 (PDT) In-Reply-To: <1312342007.29615.34.camel@greenlantern.local> References: <1312342007.29615.34.camel@greenlantern.local> Date: Thu, 4 Aug 2011 07:23:06 -0700 Message-ID: Subject: Re: Secondary indexing and order clauses From: Jason Rutherglen To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=bcaec501629d2bc12204a9aeb8a8 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501629d2bc12204a9aeb8a8 Content-Type: text/plain; charset=ISO-8859-1 Hi Todd, The Lucene secondary index will support sorting fairly easily (eg, out of the box). See: CASSANDRA-2915 Jason On Tue, Aug 2, 2011 at 8:26 PM, Todd Nine wrote: > ** > Hi guys, > Now that dynamic composite have been introduced as part of cassandra > core, has any thought been given to implementing "order by" semantics to > secondary indexing? The dynamic composite allows asc/desc order sorting of > each component in the composite, allowing for mixed asc/desc order in > secondary indexes at the cost of additional disk space. > > Thanks, > Todd > > > --bcaec501629d2bc12204a9aeb8a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Todd,

The Lucene secondary index will support sorting fairly easi= ly (eg, out of the box).=A0 See: CASSANDRA-2915

Jason

On Tue, Aug 2, 2011 at 8:26 PM, Todd Nine <todd@spidertracks.com= > wrote:
=20 =20
Hi guys,
=A0 Now that dynamic composite have been introduced as part of cassandra co= re, has any thought been given to implementing "order by" semanti= cs to secondary indexing?=A0 The dynamic composite allows asc/desc order so= rting of each component in the composite, allowing for mixed asc/desc order= in secondary indexes at the cost of additional disk space.

Thanks,
Todd



--bcaec501629d2bc12204a9aeb8a8--