TBH, our clients that support pbufs already do this for you...

On Fri, Oct 28, 2011 at 8:26 PM, Mike Oxford <[email protected]> wrote:

> On Fri, Oct 28, 2011 at 5:36 PM, Sean Cribbs <[email protected]> wrote:
> > You can already store indexes with pbufs. Use a mapreduce with a single
> reduce phase of riak_kv_mapreduce:reduce_identity if you want the equivalent
> of the http query. This is what the Erlang client does.
>
> Ew.  That's not very friendly.
>
> Why did you not just extend the protocol buffer to have another set of
> fields for the (optional) secondary indexes...?
>
> Guess I'm digging into the Erlang client.  =(
>
> -mox
>



-- 
Sean Cribbs <[email protected]>
Developer Advocate
Basho Technologies, Inc.
http://www.basho.com/
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to