Use Riak index lookups instead of mapreduce where applicable