cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CASSANDRA-1599) Add sort/order support for secondary indexing
Date Mon, 11 Oct 2010 18:33:32 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919916#action_12919916
] 

Stu Hood edited comment on CASSANDRA-1599 at 10/11/10 2:32 PM:
---------------------------------------------------------------

>> column families which are sorted by the index value
> This is the hard part, I am having trouble wrapping my mind
RandomPartitioner would need to use wide rows for a distributed index, but order preserving
partitioners could use skinny rows.

EDIT: I guess I'm also assuming CASSANDRA-1205, where index values can be converted to a byte[]
collation key.

> As suggested by "adding a CF index type" I think using the same index query api makes
more sense.
The comment above assumes that 1600 is a good idea: we would be using the same index query
API: get_range_slices.

      was (Author: stuhood):
    >> column families which are sorted by the index value
> This is the hard part, I am having trouble wrapping my mind
RandomPartitioner would need to use wide rows for a distributed index, but order preserving
partitioners could use skinny rows.

> As suggested by "adding a CF index type" I think using the same index query api makes
more sense.
The comment above assumes that 1600 is a good idea: we would be using the same index query
API: get_range_slices.
  
> Add sort/order support for secondary indexing
> ---------------------------------------------
>
>                 Key: CASSANDRA-1599
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1599
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Todd Nine
>             Fix For: 0.8
>
>
> For a lot of users paging is a standard use case on many web applications.  It would
be nice to allow paging as part of a Boolean Expression.
> Page -> start index
>            -> end index
>            -> page timestamp 
>            -> Sort Order
> When sorting, is it possible to sort both ASC and DESC? 
>             

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message