Hi there,
I have a question about something that just came up to my mind... can we
determine which counter is higher in a bucket? For example:
# Taking the FIFA World Cup as example:
bucket = client.bucket_type('counter_bucket').bucket('goals')
counter = bucket.new('Neymar')
counter.increment(4)
counter = bucket.new('Messi')
counter.increment(4)
counter = bucket.new('JamesRodriguez')
counter.increment(5)
Is there any way (without using MapReduce) to get the top scorer of the
World Cup? or a descendent ordered list of the keys by its value?
Cheers,
Alex
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com