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
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
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
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
__