cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Wang <dep...@gmail.com>
Subject Re: Versioning in cassandra while indexing ?
Date Wed, 21 Jan 2015 11:37:44 GMT
depending on your data model, static column night be useful.
https://issues.apache.org/jira/plugins/servlet/mobile#issue/CASSANDRA-6561
On Jan 21, 2015 2:56 AM, "Pandian R" <pandian4mail@gmail.com> wrote:

> Hi,
>
> I just wanted to know if there is any kind of versioning system in
> cassandra while indexing new data(like the one we have for ElasticSearch,
> for example).
>
> For example, I have a series of payloads each coming with an id and
> 'updatedAt' timestamp. I just want to maintain the latest state of any
> payload for all the ids ie, index the data only if the current payload has
> greater 'updatedAt' than the previously stored timestamp. I can do this
> with one additional self-lookup, but is there a way to achieve this without
> overhead of additional lookup ?
>
> Thanks !
>
> --
> Regards,
> Pandian
>

Mime
View raw message