incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: Range search on keys not working?
Date Wed, 02 Jun 2010 11:51:12 GMT
Sounds like you are not using an order preserving partitioner?

On Wed, Jun 2, 2010 at 13:48, David Boxenhorn <david@lookin2.com> wrote:
> Range search on keys is not working for me. I was assured in earlier threads
> that range search would work, but the results would not be ordered.
>
> I'm trying to get all the rows that start with "CATEGORY."
>
> I'm doing:
>
> String start = "CATEGORY.";
> .
> .
> .
> keyspace.getSuperRangeSlice(columnParent, slicePredicate, start,
> "CATEGORY/", max)
> .
> .
> .
>
> in a loop, setting start to the last key each time - but I'm getting rows
> that don't start with "CATEGORY."!!
>
> How do I get all rows that start with "CATEGORY."?

Mime
View raw message