Hi, How can I use the sorting functions over 'real' fields in the stored objects? How can I set the field on which I want to sort by?
It seems that the following refers to the key, in my case it's a UUID, and therefore useless to sort by: MapReduceResult result = riakClient. mapReduce("some_bucket"). addMapPhase(new NamedJSFunction("Riak.mapValuesJson"), false). addReducePhase(new NamedErlangFunction("riak_kv_mapreduce", "reduce_sort"), true). execute(); thanks, Oved.
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com