You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Todd Nine <to...@spidertracks.com> on 2011/08/03 05:26:47 UTC

Secondary indexing and order clauses

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



Re: Secondary indexing and order clauses

Posted by Jason Rutherglen <ja...@gmail.com>.
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 <to...@spidertracks.com> 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
>
>
>