Use a reduce phase instead, which doesn't force loading of the objects. A simple identity reduce should do what you want: function(values,arg){ return values; }
Sean Cribbs <s...@basho.com> Developer Advocate Basho Technologies, Inc. http://basho.com/ On Jan 24, 2011, at 7:43 PM, Gordon Tillman wrote: > Greetings All, > > I have a use case for our app where I need to fetch a list of keys that match > some pattern and was hoping to be able to use key filters for that. > > In my test I defined a key filter for the input phase of mapred and then > defined just a single map phase that returns the object key. But there is > considerable overhead with that map phase because (I'm assuming this part) > Riak is having to load each object to provide the necessary inputs to the map > function. > > Is there a way to do this without Riak having to actually load the objects? > > Many thanks, > > --gordon > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com