Hi Mattias, The following curl query simply counts the number of inputs, and has worked well for me in the past. Can you please run it against the cluster a couple of times and see if it also return varying number of results?
curl -XPOST http://localhost:8098/mapred -H 'Content-Type: application/json' -d '{"inputs":{ "bucket":"som-bucket", "index":"userid_bin", "key":"18481123123" }, "query":[{"reduce":{"language":"erlang", "module":"riak_kv_mapreduce", "function":"reduce_count_inputs" }}]}' Best regards, Christian On 16 Apr 2013, at 15:52, Mattias Sjölinder <matt...@sjolinder.se> wrote: > 18481123123
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com