You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Marcus Herou <ma...@tailsweep.com> on 2010/03/17 17:04:26 UTC

Key scan

Hi.

I have started to evaluate some KeyValue Stores and some Document
Stores to find the best fit.

I wonder how I as a developer can iterate over all keys and/or
entries ? Is it possible ?

Let's say I have putted a huge amount of data into Cassandra and finds
out that I probably should index both the keys and values in for
example Lucene to enable query support.

How would I do that without being able to access the keys by
iterating ?

Thoughts ?

Cheers

//Marcus


-- 
Marcus Herou CTO and co-founder Tailsweep AB
+46702561312
marcus.herou@tailsweep.com
http://www.tailsweep.com/

Re: Key scan

Posted by Jonathan Ellis <jb...@gmail.com>.
you can iterate through keys w/ get_range_slice; in 0.6 this works w/
all partitioners

On 3/17/10, Marcus Herou <ma...@tailsweep.com> wrote:
> Hi.
>
> I have started to evaluate some KeyValue Stores and some Document
> Stores to find the best fit.
>
> I wonder how I as a developer can iterate over all keys and/or
> entries ? Is it possible ?
>
> Let's say I have putted a huge amount of data into Cassandra and finds
> out that I probably should index both the keys and values in for
> example Lucene to enable query support.
>
> How would I do that without being able to access the keys by
> iterating ?
>
> Thoughts ?
>
> Cheers
>
> //Marcus
>
>
> --
> Marcus Herou CTO and co-founder Tailsweep AB
> +46702561312
> marcus.herou@tailsweep.com
> http://www.tailsweep.com/
>