Hi all,

We're working on analytics system based on Riak(1.0.2).

I'm storing my data in this structure:
Key = "userid_date"
Value = daily report values

So if I want for example to query last year's data I'm using key-filter like 
this
{
  "inputs":{
     "bucket":"report"
     "key_filters":[["tokenize", "-", 2],
                    ["between", "20110101", "20111231"]]
   },
}

Are key-filters efficient enough?
Or should I just send a bulk of keys to the map reduce query(ie. userid 
_20110101, userid _20110102, userid _20110103 ....)

Many thanks,
Ben

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to