Re: Fastest way to count number of items in Secondary Index query

2012-01-26 Thread Elias Levy
On Thu, Jan 26, 2012 at 6:27 AM, wrote: >Input = {index, Bucket, Index, Key}, >IdentityQuery = [{reduce, > {modfun, riak_kv_mapreduce, reduce_identity}, > [{reduce_phase_only_1, true}], > true}], > > My queries can return hund

RE: Fastest way to count number of items in Secondary Index query

2012-01-25 Thread Jeremy Raymond
number of items in Secondary Index query 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 Developer Advocate Basho Technologies

Re: Fastest way to count number of items in Secondary Index query

2012-01-25 Thread Ian Plosker
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 Developer Advocate Basho Technologies On Monday, January 23, 2012 at 2:27 PM, Jeremy Raymond w