cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Sorting by secondary index
Date Fri, 01 Oct 2010 15:18:26 GMT
secondary index results are always sorted by indexed column value.
rows with the same index value are sorted in token order (although
support for comparator order is planned).

sorting by a different column is not possible to do efficiently
server-side and therefore is left to the client.

On Fri, Oct 1, 2010 at 10:13 AM, Petr Odut <> wrote:
> Hi,
> is it possible to sort results based on secondary index search?
> Typical use case is to get most recent comments from specified group
> CF: comments
>  * SI: group
>  * SI: timestamp
> I've asked before, but I can't still found any information.
> Thanks
> --
> Petr Odut []

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message