Jeremy, Requests to 2i's HTTP interface will return keys rather the objects themselves. You may find better performance counting the returned keys rather than employing a M/R job.
-- Ian Plosker <i...@basho.com> Developer Advocate Basho Technologies On Monday, January 23, 2012 at 2:27 PM, Jeremy Raymond wrote: > What is the fastest way to count the number of items in a secondary > index range query? I'm currently feeding an index input directly into > the riak_kv_mapreduce:reduce_count_inputs/2. Anything faster than > doing this? Anyway to query an index without loading the objects > themselves? > > -- > Jeremy > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com (mailto: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